Renamed return value from Read call from button to event... EVERYWHERE

This commit is contained in:
MikeTheWatchGuy 2018-10-15 16:07:23 -04:00
parent 43526e0182
commit c79a8772cc
86 changed files with 7992 additions and 12709 deletions

View file

@ -45,8 +45,8 @@ def main():
while True:
time.sleep(.2)
button, values = window.ReadNonBlocking()
if button == 'Quit' or values is None:
event, values = window.ReadNonBlocking()
if event == 'Quit' or values is None:
break
if g_response_time is None or prev_response_time == g_response_time:
continue