fix AppdataFolder encoding on windows #578

Merged
b4tman merged 1 commits from master into master 2013-12-25 06:53:41 +01:00

View File

@ -146,7 +146,7 @@ def lookupAppdataFolder():
sys.exit()
elif 'win32' in sys.platform or 'win64' in sys.platform:
dataFolder = path.join(environ['APPDATA'], APPNAME) + '\\'
dataFolder = path.join(environ['APPDATA'].decode(sys.getfilesystemencoding(), 'ignore'), APPNAME) + path.sep
else:
from shutil import move
try: