dont trim, strip!

pull/4/head
lza_menace 4 years ago
parent 7bda8f8f30
commit 09eebc719e

@ -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"].trim() return session["auth"]["preferred_username"].strip()
def post_webhook(msg): def post_webhook(msg):
try: try:

Loading…
Cancel
Save