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:
|
except:
|
||||||
gauge.flow = NotAvailable
|
gauge.flow = NotAvailable
|
||||||
bildforecast = data[5]
|
bildforecast = data[5]
|
||||||
if bildforecast.__eq__("pf_gerade.png"):
|
if bildforecast == "pf_gerade.png":
|
||||||
gauge.forecast = "stable"
|
gauge.forecast = "stable"
|
||||||
elif bildforecast.__eq__("pf_unten.png"):
|
elif bildforecast == "pf_unten.png":
|
||||||
gauge.forecast = "Go down"
|
gauge.forecast = "Go down"
|
||||||
|
elif bildforecast == "pf_oben.png":
|
||||||
|
gauge.forecast = "Go up"
|
||||||
else:
|
else:
|
||||||
gauge.forecast = NotAvailable
|
gauge.forecast = NotAvailable
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue