Probably just a temporary fix. Meh.

This commit is contained in:
Matthias Schiffer 2010-12-19 21:01:43 +01:00
parent 86d40c4421
commit 2560ad53a0

View file

@ -75,7 +75,7 @@ class Module(ModuleBase):
meals = []
pos = 0
for i in range(0,6):
for i in range(0,5):
row = handle_data_row(data, pos)
if not row:
@ -122,10 +122,10 @@ class Module(ModuleBase):
reply += 'Hauptgericht 2: %s (%s)\n' % meals[3][weekday]
if meals[2][weekday][0]:
reply += 'Vegetarisches Hauptgericht: %s (%s)\n' % meals[2][weekday]
#if meals[4][weekday][0]:
# reply += 'Wok: %s (%s)\n' % meals[4][weekday]
if meals[4][weekday][0]:
reply += 'Wok: %s (%s)\n' % meals[4][weekday]
if meals[5][weekday][0]:
reply += 'Beilagen: %s (%s)\n' % meals[5][weekday]
reply += 'Beilagen: %s (%s)\n' % meals[4][weekday]
return reply