From 09eebc719ef132b46b0e0d7665870ee0fbb254b2 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Mon, 10 May 2021 09:02:01 -0700 Subject: [PATCH] dont trim, strip! --- 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 2e70548..a9313d8 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"].trim() + return session["auth"]["preferred_username"].strip() def post_webhook(msg): try: