From bb98553aea6d217f791f886c1bd2f2570a7477ef Mon Sep 17 00:00:00 2001 From: John Nduli Date: Tue, 24 Sep 2024 10:00:45 +0300 Subject: refactor: remove unused imports --- gn2/wqflask/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask/views.py') diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index f073859c..473b86e9 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -484,7 +484,7 @@ def docedit(): return render_template("docedit.html", **doc.__dict__) else: return "You shouldn't be here!" - except: + except Exception: return "You shouldn't be here!" -- cgit v1.2.3