From 1a03ac6f4f3490a62fc912c65ad89c42e5aee8a1 Mon Sep 17 00:00:00 2001 From: angerstoner Date: Sat, 31 Mar 2018 01:48:36 +0200 Subject: [PATCH] added mensa closed handling --- schneiderbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schneiderbot.py b/schneiderbot.py index 63ea3c9..8465a94 100644 --- a/schneiderbot.py +++ b/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"]