summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/tkinter/guido/wish.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/wish.py b/Demo/tkinter/guido/wish.py
index 16cacde..5cbb1b9 100755
--- a/Demo/tkinter/guido/wish.py
+++ b/Demo/tkinter/guido/wish.py
@@ -15,8 +15,8 @@ while 1:
except EOFError:
break
cmd = cmd + (line + '\n')
- tk.record(line)
if tk.getboolean(tk.call('info', 'complete', cmd)):
+ tk.record(line)
try:
result = tk.call('eval', cmd)
except tkinter.TclError, msg: