diff options
Diffstat (limited to 'newspipe/web/views/session_mgmt.py')
-rw-r--r-- | newspipe/web/views/session_mgmt.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/newspipe/web/views/session_mgmt.py b/newspipe/web/views/session_mgmt.py index 5e0ac64d..90f3c141 100644 --- a/newspipe/web/views/session_mgmt.py +++ b/newspipe/web/views/session_mgmt.py @@ -58,7 +58,9 @@ def on_identity_loaded(sender, identity): @login_manager.user_loader def load_user(user_id): try: - return UserController(user_id, ignore_context=True).get(id=user_id, is_active=True) + return UserController(user_id, ignore_context=True).get( + id=user_id, is_active=True + ) except NotFound: pass |