Merge pull request #578 from b4tman/master

fix AppdataFolder encoding on windows
This commit is contained in:
Jonathan Warren 2013-12-24 21:53:41 -08:00
commit 534e98e816

View File

@ -147,7 +147,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: