modified the bound
This commit is contained in:
parent
4ba936f536
commit
5188a37184
6
main.py
6
main.py
|
@ -29,11 +29,11 @@ def update_graph():
|
|||
for i,delay in enumerate(history):
|
||||
if delay>=5000:
|
||||
fill(img,i,red)
|
||||
elif delay>=2000:
|
||||
elif delay>=3000:
|
||||
fill(img,i,orange)
|
||||
elif delay>=1000:
|
||||
elif delay>=2000:
|
||||
fill(img,i,yellow)
|
||||
elif delay>=500:
|
||||
elif delay>=1000:
|
||||
fill(img,i,light_green)
|
||||
else:
|
||||
fill(img,i,green)
|
||||
|
|
Loading…
Reference in New Issue