diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin.py b/app/views/admin.py index 14b9c63..5215f02 100644 --- a/app/views/admin.py +++ b/app/views/admin.py @@ -9,7 +9,7 @@ from flask_admin.contrib.sqla import ModelView admin = Admin(app, name="Admin", template_mode="bootstrap4") -class ModelView(ModelView): # skipcq: PYL-E0102 +class ModelView(ModelView): # skipcq: PYL-E0102 def is_accessible(self): try: if flask_login.current_user.get_role() == "SUPERUSER": |