fixed bug

master^2
Celine Stewart 2018-05-06 19:31:24 -04:00
parent 8ba15743a3
commit de5b4ecfe8
1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@ def retrieve_input():
def update_gui(numDrinks, timeLeft):
if numDrinks <= 0:
if int(numDrinks) <= 0:
change_red()
elif numDrinks == 1:
elif int(numDrinks) == 1:
change_yellow()
else:
change_green()