summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Demo')
-rw-r--r--Demo/tix/tixwidgets.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py
index 68cf56e..6e570d7 100644
--- a/Demo/tix/tixwidgets.py
+++ b/Demo/tix/tixwidgets.py
@@ -135,8 +135,7 @@ class Demo:
import tkMessageBox, traceback
while self.exit < 0:
try:
- while self.exit < 0:
- self.root.tk.dooneevent(TCL_ALL_EVENTS)
+ self.root.tk.dooneevent(TCL_ALL_EVENTS)
except SystemExit:
#print 'Exit'
self.exit = 1