From d961433fb904c86fb6aaae1026ee822e51742641 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 21 Mar 2023 19:54:40 +0200 Subject: [PATCH] make sure agendaposter_phrase is lower case --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 801b7145d..0d888cd5a 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -310,7 +310,7 @@ def award_thing(v, thing_type, id): if len(note) > 50: abort(400, "Max length for phrase is 50 characters!") - author.agendaposter_phrase = note + author.agendaposter_phrase = note.lower() badge_grant(user=author, badge_id=28) elif kind == "flairlock":