fixed bug
parent
8ba15743a3
commit
de5b4ecfe8
|
@ -62,9 +62,9 @@ def retrieve_input():
|
||||||
|
|
||||||
|
|
||||||
def update_gui(numDrinks, timeLeft):
|
def update_gui(numDrinks, timeLeft):
|
||||||
if numDrinks <= 0:
|
if int(numDrinks) <= 0:
|
||||||
change_red()
|
change_red()
|
||||||
elif numDrinks == 1:
|
elif int(numDrinks) == 1:
|
||||||
change_yellow()
|
change_yellow()
|
||||||
else:
|
else:
|
||||||
change_green()
|
change_green()
|
||||||
|
|
Loading…
Reference in New Issue