Commit c4715f06 authored by Alan Hamlett's avatar Alan Hamlett

fix flake8

parent 402e9a7a
......@@ -11,7 +11,7 @@ import warnings
try:
from wtforms.widgets import HTMLString as Markup
except ImportError:
from markupsafe import Markup
from markupsafe import Markup # noqa: F401
def get_property(obj, name, old_name, default=None):
......
......@@ -33,9 +33,9 @@ class MongoFileInput(object):
}
return Markup('%s<input %s>' % (placeholder,
html_params(name=field.name,
type='file',
**kwargs)))
html_params(name=field.name,
type='file',
**kwargs)))
class MongoImageInput(object):
......@@ -60,6 +60,6 @@ def __call__(self, field, **kwargs):
}
return Markup('%s<input %s>' % (placeholder,
html_params(name=field.name,
type='file',
**kwargs)))
html_params(name=field.name,
type='file',
**kwargs)))
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