Commit cab80d78 authored by Priit Laes's avatar Priit Laes

None is an issue ;)

parent 1161ade3
...@@ -57,7 +57,7 @@ class FileUploadInput(object): ...@@ -57,7 +57,7 @@ class FileUploadInput(object):
if field.data and isinstance(field.data, FileStorage): if field.data and isinstance(field.data, FileStorage):
value = field.data.filename value = field.data.filename
else: else:
value = field.data value = field.data or ''
return HTMLString(template % { return HTMLString(template % {
'text': html_params(type='text', 'text': html_params(type='text',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment