Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed May 21, 2024
1 parent 8d3f2e8 commit 6e75d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def check_login_valid():
auth_handler = AuthHandler(app.logger.debug)
cookie = request.cookies.get(COOKIE_NAME, "")
try:
user_id = auth_handler.authenticate_only_refresh_id(parse.unquote(cookie))
auth_handler.authenticate_only_refresh_id(parse.unquote(cookie))
except (AuthenticateException, InvalidCredentialsException):
return False
return True
Expand Down

0 comments on commit 6e75d79

Please sign in to comment.