fix AppdataFolder encoding on windows
This commit is contained in:
parent
34ca45160d
commit
f1ce821910
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user