make sure agendaposter_phrase is lower case

pull/142/head
Aevann 2023-03-21 19:54:40 +02:00
parent 71395bc3c2
commit d961433fb9
1 changed files with 1 additions and 1 deletions

View File

@ -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":