summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui')
-rw-r--r--jfr_playoff/gui/icons.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/jfr_playoff/gui/icons.py b/jfr_playoff/gui/icons.py
index f700bb1..94d3d63 100644
--- a/jfr_playoff/gui/icons.py
+++ b/jfr_playoff/gui/icons.py
@@ -8,9 +8,11 @@ class GuiImage(object):
@staticmethod
def __get_base_path():
try:
- return os.path.join(sys._MEIPASS, 'res')
+ return os.path.join(sys._MEIPASS, 'res').decode(
+ sys.getfilesystemencoding())
except:
- return os.path.abspath(os.path.dirname(__file__))
+ return os.path.abspath(os.path.dirname(__file__)).decode(
+ sys.getfilesystemencoding())
@staticmethod
def get_path(imageType, code, fileType='gif'):