Browse Source

added mensa closed handling

master
angerstoner 7 years ago
parent
commit
1a03ac6f4f
  1. 2
      schneiderbot.py

2
schneiderbot.py

@ -159,7 +159,7 @@ def mensa(bot, update, args):
message = "Das Essen für %s in der %s \n" % (data["date"], MENSA_NAME[which])
if len(data["meals"]) > 0:
if len(data["meals"]) > 1:
for meal in data["meals"]:
if meal["category"] in categories:
meal_line = "*%s*\n" % meal["category"]

Loading…
Cancel
Save