PEP 8 for except
This commit is contained in:
parent
ed5bb667bf
commit
751c14829a
2
app.py
2
app.py
@ -157,7 +157,7 @@ def admin_edit(link_id=None):
|
|||||||
if not attr.startswith('_') and getattr(link, attr) is None:
|
if not attr.startswith('_') and getattr(link, attr) is None:
|
||||||
try:
|
try:
|
||||||
setattr(link, attr, '')
|
setattr(link, attr, '')
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
form.folder.choices = [(0, '')] + form.folder.choices
|
form.folder.choices = [(0, '')] + form.folder.choices
|
||||||
link.vf = False
|
link.vf = False
|
||||||
|
Reference in New Issue
Block a user