summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/__init__.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-01-20 11:18:03 +0100
committeremkael <emkael@tlen.pl>2020-01-20 11:18:03 +0100
commitb52c9bac6df1aea0a946453ac1763dce8d67c605 (patch)
treeb2595e3abe1771d97c457010712dd48831856438 /jfr_playoff/gui/frames/__init__.py
parentd4e2e89db48980496fb66c46ceacd873a34f8bfc (diff)
Fixing encoding issue when compiling team name list for GUI
Diffstat (limited to 'jfr_playoff/gui/frames/__init__.py')
-rw-r--r--jfr_playoff/gui/frames/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/frames/__init__.py b/jfr_playoff/gui/frames/__init__.py
index 983903a..8b22f52 100644
--- a/jfr_playoff/gui/frames/__init__.py
+++ b/jfr_playoff/gui/frames/__init__.py
@@ -433,7 +433,7 @@ class RefreshableOptionMenu(ttk.OptionMenu):
self._valueLock = True
self._valueVariable.set(
self._lastValue
- if str(self._lastValue) in [str(option[1]) for option in options]
+ if unicode(self._lastValue) in [unicode(option[1]) for option in options]
else '')
self._valueLock = False
except tk.TclError: