From ba5d1d6db23692c5e2769cb5efba0693ea82c3d4 Mon Sep 17 00:00:00 2001
From: Navan Chauhan <navanchauhan@gmail.com>
Date: Sun, 6 Jun 2021 15:52:35 +0530
Subject: silenced intentional violation

---
 app/views/admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'app/views')

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":
-- 
cgit v1.2.3