Skip to content

Commit 803f901

Browse files
committed
work-a-round for Py2: className can't be unicode
1 parent 3464932 commit 803f901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dragonpy/core/gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(self, cfg, display_queue, user_input_queue):
136136
self.cpu_cycles_update_interval = 1
137137
self.next_cpu_cycle_update = time.time() + self.cpu_cycles_update_interval
138138

139-
self.root = tkinter.Tk(className="DragonPy")
139+
self.root = tkinter.Tk()
140140

141141
self.root.bind("<Key>", self.event_key_pressed)
142142
self.root.bind("<<Paste>>", self.paste_clipboard)

0 commit comments

Comments
 (0)