diff --git a/Demo/tix/tixwidgets.py b/Demo/tix/tixwidgets.py index b2873648d8c..556d3b7797b 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.