Changed bad if statements that were using 'is' and made '==' instead.

This commit is contained in:
MikeTheWatchGuy 2019-06-26 11:09:42 -04:00
parent 23dfb5f7cc
commit ad100b8e75
22 changed files with 45 additions and 52 deletions

View file

@ -889,7 +889,7 @@ while True:
event, values = window.Read()
print(event)
# show it all again and get buttons
if event is None or event is 'Exit':
if event in (None, 'Exit'):
break
try: