mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
exe: l10n.py removal of un-needed .decode() calls
This commit is contained in:
parent
5279f2122c
commit
b119974eb5
4
l10n.py
4
l10n.py
@ -150,9 +150,9 @@ class Translations(object):
|
||||
def respath(self):
|
||||
if getattr(sys, 'frozen', False):
|
||||
if platform=='darwin':
|
||||
return normpath(join(dirname(sys.executable.decode(sys.getfilesystemencoding())), os.pardir, 'Resources'))
|
||||
return normpath(join(dirname(sys.executable), os.pardir, 'Resources'))
|
||||
else:
|
||||
return join(dirname(sys.executable.decode(sys.getfilesystemencoding())), LOCALISATION_DIR)
|
||||
return join(dirname(sys.executable), LOCALISATION_DIR)
|
||||
elif __file__:
|
||||
return join(dirname(__file__), LOCALISATION_DIR)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user