Fix as0.gif keyerror
This commit is contained in:
parent
98b847664c
commit
8c82771f71
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ class ListPage(BasePage):
|
||||||
alarmlevel = {"as1.gif": u"Alarmstufe 1", "as2.gif": u"Alarmstufe 2",
|
alarmlevel = {"as1.gif": u"Alarmstufe 1", "as2.gif": u"Alarmstufe 2",
|
||||||
"as3.gif": u"Alarmstufe 3", "as4.gig": u"Alarmstufe 4",
|
"as3.gif": u"Alarmstufe 3", "as4.gig": u"Alarmstufe 4",
|
||||||
"qua_grau.gif": u"No alarm function", "p_gruen.gif": u"",
|
"qua_grau.gif": u"No alarm function", "p_gruen.gif": u"",
|
||||||
"qua_weiss.gif": u"no data"}
|
"qua_weiss.gif": u"no data", "as0.gif": u"",
|
||||||
|
"MNW.gif": u""}
|
||||||
|
|
||||||
def get_rivers_list(self):
|
def get_rivers_list(self):
|
||||||
for pegel in self.document.getroot().xpath(".//a[@onmouseout='pegelaus()']"):
|
for pegel in self.document.getroot().xpath(".//a[@onmouseout='pegelaus()']"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue