aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:57:20 +0530
committerGitHub <noreply@github.com>2021-06-06 15:57:20 +0530
commit3db55eb2b29376a6cb1835bf484cbe46198e28ac (patch)
treeede16e16c1d155300ff674cd1f0a12a2f2fdf1e0 /app/views/admin.py
parent2d5ab7bc6fc0322016122995382b17555aca0f33 (diff)
parenta434d6f82528dba31b023b0834f798b63eb1cd22 (diff)
Merge pull request #3 from navanchauhan/deepsource-transform-a18b8aaf
Format code with black
Diffstat (limited to 'app/views/admin.py')
-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 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":