Scott Chapman wrote: > > if var == True: # only works if var is 1 > blah > > ' Must use: > > if var: # works if var is not 0 > blah there's the equivalent, and more explicit : if bool(var)==True : blah