A bit of pep8 and small typo fix.
This commit is contained in:
parent
1b6a2b85e1
commit
d6c3375a78
@ -113,7 +113,7 @@ def check_form(form):
|
||||
if not form.validate():
|
||||
_log.error("form validation failed for form %r", form)
|
||||
for f in form:
|
||||
if len(f.error):
|
||||
if len(f.errors):
|
||||
_log.error("Errors for %s: %r", f.name, f.errors)
|
||||
raise BadRequest()
|
||||
dump = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user