trim whitespace for dummies with an extra space in their name

pull/4/head
lza_menace 4 years ago
parent 2a7c618e9d
commit 57f0bcc880

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

Loading…
Cancel
Save