From ab10b2ae43036067efc106c091c5703db6f8adca Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 14 Feb 2011 02:02:00 +0100 Subject: mensa: Temporily disable Wok-Gericht --- modules/mensa.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/mensa.py b/modules/mensa.py index d86183a..4867670 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 -- cgit v1.2.3