diff options
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/tix/tixwidgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index b287364..556d3b7 100644 --- a/Demo/tix/tixwidgets.py +++ b/Demo/tix/tixwidgets.py @@ -294,7 +294,7 @@ def spin_validate(w): try: i = states.index(demo_spintxt.get()) - except: + except ValueError: return states[0] return states[i] # why this procedure works as opposed to the previous one beats me. |