trim whitespace for dummies with an extra space in their name
This commit is contained in:
parent
2a7c618e9d
commit
57f0bcc880
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue