Changed bad if statements that were using 'is' and made '==' instead.
This commit is contained in:
parent
23dfb5f7cc
commit
ad100b8e75
22 changed files with 45 additions and 52 deletions
|
@ -27,9 +27,9 @@ def Timer():
|
|||
if values is None or button == 'Exit':
|
||||
break
|
||||
|
||||
if button is 'Reset':
|
||||
if button == 'Reset':
|
||||
i=0
|
||||
elif button is 'Pause':
|
||||
elif button == 'Pause':
|
||||
paused = not paused
|
||||
|
||||
if not paused:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue