From 751c14829a8600ec0112972aa109e754e86d4906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Fri, 27 Dec 2019 15:03:20 +0100 Subject: [PATCH] PEP 8 for except --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index cd1fadf..7a39695 100644 --- a/app.py +++ b/app.py @@ -157,7 +157,7 @@ def admin_edit(link_id=None): if not attr.startswith('_') and getattr(link, attr) is None: try: setattr(link, attr, '') - except: + except Exception: pass form.folder.choices = [(0, '')] + form.folder.choices link.vf = False