PEP 8 for except

This commit is contained in:
Michel Roux 2019-12-27 15:03:20 +01:00
parent ed5bb667bf
commit 751c14829a

2
app.py
View File

@ -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