From 8c82771f718d8ea1279637a926ffe6373e1bb63a Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 1 Mar 2013 19:05:24 +0100 Subject: [PATCH] Fix as0.gif keyerror --- modules/sachsen/pages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/sachsen/pages.py b/modules/sachsen/pages.py index 99997ba5..55f8c340 100644 --- a/modules/sachsen/pages.py +++ b/modules/sachsen/pages.py @@ -30,7 +30,8 @@ class ListPage(BasePage): alarmlevel = {"as1.gif": u"Alarmstufe 1", "as2.gif": u"Alarmstufe 2", "as3.gif": u"Alarmstufe 3", "as4.gig": u"Alarmstufe 4", "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): for pegel in self.document.getroot().xpath(".//a[@onmouseout='pegelaus()']"):