Skip to content
Snippets Groups Projects
Commit 3f4fc593 authored by root's avatar root
Browse files

shorter

parent 0adb93c8
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ def parseDay( dom, dayName ):
gericht = re.sub(r',$', '', gericht)
art = tds[1].text()
kategorie = tds[2].find("img").first().attr( "src" )
kategorie = re.sub(r'fileadmin/images/speiseplaene/menuekategorie/', '', kategorie)
gerichte.append({'gericht': gericht,"art": art,"kategorie":kategorie})
jday = {'date': date,"gerichte":gerichte}
return jday
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment