Closed Zorba256 closed 3 years ago
Hi,
This issue should be fixed now, but I can't test the fix because I haven't used Windows for quite a while (since XP or so.) Please pull the latest changes and let me know if everything works as it should.
Cheers, Hannu
hi @hpparvi - I can confirm that the code on the master branch works on my Windows PC!!! Thank you for fixing this so quickly! Any estimate of when it will be released?
I've now updated the package in PyPI and created a new release in GitHub.
Line 48 in core.py fails when running on Windows with an error as follows:
the relevant lines in core.py are:
I believe that the immediate error on Windows is because the variable "HOME" is not defined on this platform. Since the os.getenv call here has no defined default value, it returns not a string but a Nonetype object - which cannot be combined with os.join. I suggest the answer may be to use os.path.expanduser('~') to derive the platform independent home directory in line 48, or possibly Path.home if on Python 3.5+. Then to use os.path.join to build the path itself.