trim whitespace for dummies with an extra space in their name

This commit is contained in:
lza_menace 2021-05-10 06:54:26 -07:00
parent 2a7c618e9d
commit 57f0bcc880
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def is_moderator(username):
def get_session_user(): def get_session_user():
if "auth" not in session or not session["auth"]: if "auth" not in session or not session["auth"]:
return None return None
return session["auth"]["preferred_username"] return session["auth"]["preferred_username"].trim()
def post_webhook(msg): def post_webhook(msg):
try: try: