From 57f0bcc880e139d8a80cdbb3c2ce25f9741465c0 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Mon, 10 May 2021 06:54:26 -0700 Subject: [PATCH] trim whitespace for dummies with an extra space in their name --- suchwow/utils/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suchwow/utils/helpers.py b/suchwow/utils/helpers.py index d25c3c7..2e70548 100644 --- a/suchwow/utils/helpers.py +++ b/suchwow/utils/helpers.py @@ -23,7 +23,7 @@ def is_moderator(username): def get_session_user(): if "auth" not in session or not session["auth"]: return None - return session["auth"]["preferred_username"] + return session["auth"]["preferred_username"].trim() def post_webhook(msg): try: