martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 121 forks source link

Windows - Dev branch - WindowsPath not iterable #80

Closed pdoteter closed 3 years ago

pdoteter commented 3 years ago

** I got this in the dev branch on line 76 of log_consumer.py

python popen argument of type 'WindowsPath' is not iterable

Environment:

** I changed the code on line 68 to: expanded_user_log_path = str(self._log_path.expanduser())

which fixes it. I tried to push a branch with that small change for you guys to review, but I have no permission to push

martomi commented 3 years ago

Surprised this is an issue for Python 3.9.5 because according to the official docs, path-like objects are supported arguments by Popen since at least Python 3.8.0 🤔