aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-08-15 15:41:12 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-08-15 15:41:12 +0200
commitff93952d178eba2ba90c10b1c26905eccb63263b (patch)
tree08fe65a32cc1f1155729587a592dc557a02c1163
parent0c8a10a3dc08aa1ba0c2d09863560aadbcd66b88 (diff)
downloadgeldschieberbot-ff93952d178eba2ba90c10b1c26905eccb63263b.tar.gz
geldschieberbot-ff93952d178eba2ba90c10b1c26905eccb63263b.zip
fix lower for summary
-rw-r--r--geldschieberbot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/geldschieberbot.py b/geldschieberbot.py
index f302dc4..c1a9353 100644
--- a/geldschieberbot.py
+++ b/geldschieberbot.py
@@ -140,7 +140,8 @@ def handle_input(inp):
if len(w) == 1:
send(create_total_summary())
elif len(w) == 2:
- if w[1].lower() in name2num:
+ w[1] = w[1].lower()
+ if w[1] in name2num:
send("Summary:\n" + create_summary(w[1]))
else:
send("ERROR: name not registered")