Catch "go up" value
This commit is contained in:
parent
a4c8a1abf7
commit
62bb1321bc
1 changed files with 4 additions and 2 deletions
|
|
@ -48,10 +48,12 @@ class ListPage(BasePage):
|
|||
except:
|
||||
gauge.flow = NotAvailable
|
||||
bildforecast = data[5]
|
||||
if bildforecast.__eq__("pf_gerade.png"):
|
||||
if bildforecast == "pf_gerade.png":
|
||||
gauge.forecast = "stable"
|
||||
elif bildforecast.__eq__("pf_unten.png"):
|
||||
elif bildforecast == "pf_unten.png":
|
||||
gauge.forecast = "Go down"
|
||||
elif bildforecast == "pf_oben.png":
|
||||
gauge.forecast = "Go up"
|
||||
else:
|
||||
gauge.forecast = NotAvailable
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue