Merge pull request #154 from ZeusWPI/small-fixes-1
Remove error comparing str and int
This commit is contained in:
commit
dda1351e88
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def authorized() -> typing.Any:
|
||||||
# pylint: disable=R1705
|
# pylint: disable=R1705
|
||||||
if username and user:
|
if username and user:
|
||||||
return login_and_redirect_user(user)
|
return login_and_redirect_user(user)
|
||||||
elif username > 0:
|
elif username:
|
||||||
user = create_user(username)
|
user = create_user(username)
|
||||||
return login_and_redirect_user(user)
|
return login_and_redirect_user(user)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue