diff options
author | deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> | 2021-06-06 10:26:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 10:26:18 +0000 |
commit | a434d6f82528dba31b023b0834f798b63eb1cd22 (patch) | |
tree | ede16e16c1d155300ff674cd1f0a12a2f2fdf1e0 /app/views | |
parent | 2d5ab7bc6fc0322016122995382b17555aca0f33 (diff) |
Format code with black
This commit fixes the style issues introduced in 2d5ab7b according to the output
from black.
Details: https://deepsource.io/gh/navanchauhan/SaaS-in-a-Flask/transform/a86da106-1f68-4a11-84a6-76647546672c/
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": |