Resolve lint warning

This commit is contained in:
Patrick Smith 2018-08-02 16:53:34 -04:00
parent 5e2908cbfe
commit 322ab22cf2

View File

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