We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca106a8 commit 4faf267Copy full SHA for 4faf267
1 file changed
tkthread/__init__.py
@@ -134,10 +134,6 @@ class TkThread(object):
134
def __init__(self, root):
135
"""TkThread object for the root 'tkinter.Tk' object"""
136
137
- if hasattr(root, 'tkt'):
138
- raise RuntimeError('TkThread instance already created')
139
- root.tkt = self
140
-
141
self._main_thread = threading.current_thread()
142
self.root = root
143
self.root.eval('package require Thread')
0 commit comments