Resolve lint warning

This commit is contained in:
Patrick Smith 2018-08-02 16:53:34 -04:00 committed by richard-dds
parent 5754514c08
commit bf9e7e11d4

View File

@ -64,7 +64,7 @@ def make_flask_callbacks(app):
}
@app.template_filter('iconSvg')
def iconSvg(name):
def _iconSvg(name):
with open('static/icons/'+name+'.svg') as contents:
return contents.read()