summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-12-19 21:01:43 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-12-19 21:01:43 +0100
commit2560ad53a09572332bc67e5dfbdfed68210fa70b (patch)
treea53471da382b710865ed3b205d9a593bb8f3e14f /modules
parent86d40c44217f61e00f5800318e60b98292f658cd (diff)
downloadcurunir-2560ad53a09572332bc67e5dfbdfed68210fa70b.tar
curunir-2560ad53a09572332bc67e5dfbdfed68210fa70b.zip
Probably just a temporary fix. Meh.
Diffstat (limited to 'modules')
-rw-r--r--modules/mensa.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mensa.py b/modules/mensa.py
index 3c3a197..0e96c7a 100644
--- a/modules/mensa.py
+++ b/modules/mensa.py
@@ -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