Compatibility with Windows
Closed this issue · 1 comments
skyprince999 commented
Hi
Running the following command raises an exception
poetry run services
AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'?
This is from the following lines 79 and 103 in restack.py where os.uname() has been used which is only compatible with Unix systems
Suggested alternative (not sure if that solves the problem didnt run any tests!)
import platform
and replace os.uname().nodename with platform.uname().node
OS: Windows 11
aboutphilippe commented
Thank you for reporting.
We addressed windows compatibility with #50