Resolve lint warning
This commit is contained in:
parent
5e2908cbfe
commit
322ab22cf2
@ -58,7 +58,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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user