Merge pull request #578 from b4tman/master
fix AppdataFolder encoding on windows
This commit is contained in:
commit
534e98e816
|
@ -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:
|
||||
|
|
Reference in New Issue
Block a user