mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
trim whitespace for dummies with an extra space in their name
This commit is contained in:
parent
2a7c618e9d
commit
57f0bcc880
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue