g-sherman / plugin_build_tool

Python command line tool for compiling and deploying QGIS plugins
GNU General Public License v2.0
38 stars 18 forks source link

user home directory wrong on some windows machines #3

Closed LKajan closed 7 years ago

LKajan commented 8 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:

Probably we should use os.path.expanduser('~') that works on all platforms.

g-sherman commented 7 years ago

Changed in e8a68d0