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()
|
sys.exit()
|
||||||
|
|
||||||
elif 'win32' in sys.platform or 'win64' in sys.platform:
|
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:
|
else:
|
||||||
from shutil import move
|
from shutil import move
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user