aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:52:35 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:52:35 +0530
commitba5d1d6db23692c5e2769cb5efba0693ea82c3d4 (patch)
tree871bf80b8d4795966101221a79e67912aa385ea6 /app
parent873990b2bf0732124fb47f09ba69156e5c64f79f (diff)
silenced intentional violation
Diffstat (limited to 'app')
-rw-r--r--app/views/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin.py b/app/views/admin.py
index 7891e50..14b9c63 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):
+class ModelView(ModelView): # skipcq: PYL-E0102
def is_accessible(self):
try:
if flask_login.current_user.get_role() == "SUPERUSER":