diff options
Diffstat (limited to 'newspipe/web/views/common.py')
-rw-r--r-- | newspipe/web/views/common.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/newspipe/web/views/common.py b/newspipe/web/views/common.py index c286888f..2ae7fdf6 100644 --- a/newspipe/web/views/common.py +++ b/newspipe/web/views/common.py @@ -2,15 +2,14 @@ import json from datetime import datetime from functools import wraps -from flask import Response, current_app +from flask import current_app +from flask import Response from flask_login import login_user -from flask_principal import ( - Identity, - Permission, - RoleNeed, - identity_changed, - session_identity_loader, -) +from flask_principal import Identity +from flask_principal import identity_changed +from flask_principal import Permission +from flask_principal import RoleNeed +from flask_principal import session_identity_loader from newspipe.controllers import UserController from newspipe.lib.utils import default_handler |