summaryrefslogtreecommitdiffstats
path: root/Demo/tix
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tix')
-rwxr-xr-xDemo/tix/samples/Control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tix/samples/Control.py b/Demo/tix/samples/Control.py
index b8e1156..4b31ced 100755
--- a/Demo/tix/samples/Control.py
+++ b/Demo/tix/samples/Control.py
@@ -86,7 +86,7 @@ def adjust_maker(w, inc):
def validate_maker(w):
try:
i = maker_list.index(demo_maker.get())
- except:
+ except ValueError:
# Works here though. Why ? Beats me.
return maker_list[0]
# Works here though. Why ? Beats me.