From 80fa32de41b8465c340923976e57757c09b2fd1c Mon Sep 17 00:00:00 2001 From: digital dreamer Date: Wed, 12 Nov 2014 11:31:15 +0100 Subject: [PATCH] Fix #417 - bad relative path breaks translations --- src/bitmessageqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index df6b3b45..9952caf8 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -3852,7 +3852,7 @@ def run(): translator = QtCore.QTranslator() translationpath = os.path.join( - getattr(sys, '_MEIPASS', ''), + getattr(sys, '_MEIPASS', sys.path[0]), 'translations', 'bitmessage_' + l10n.getTranslationLanguage() )