Closed LKajan closed 7 years ago
When deploying a plugin on windows user home folder is found with home = os.path.join(os.environ['HOMEDRIVE'], os.environ['HOMEPATH']) This gives me just a U:
home = os.path.join(os.environ['HOMEDRIVE'], os.environ['HOMEPATH'])
U:
Probably we should use os.path.expanduser('~') that works on all platforms.
os.path.expanduser('~')
Changed in e8a68d0
When deploying a plugin on windows user home folder is found with
home = os.path.join(os.environ['HOMEDRIVE'], os.environ['HOMEPATH'])
This gives me just aU:
Probably we should use
os.path.expanduser('~')
that works on all platforms.