summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-21 09:47:31 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-25 06:43:12 (GMT)
commitb28faa9df1fd5474c42504abe174f1a95958e7cf (patch)
tree557f7abb325cc71ba9e602658ce34f59a5d1deeb
parentc219ffc2fcfc6a040595ce6a349d4efbecde7f49 (diff)
accept UTF-8 in appdataDir
-rw-r--r--src/login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login.py b/src/login.py
index c8ff60c..5c17579 100644
--- a/src/login.py
+++ b/src/login.py
@@ -210,9 +210,9 @@ class Url(unicode):
args.append('--port=%d' % self.port)
if self.isLocalGame:
args.append(
- '--db={}'.format(
+ u'--db={}'.format(
os.path.normpath(
- appdataDir() + 'local{}.db'.format('3' if isPython3 else ''))))
+ appdataDir() + u'local{}.db'.format('3' if isPython3 else ''))))
if Debug.argString:
args.append('--debug=%s' % Debug.argString)
if os.name == 'nt':