Resolve lint warning
This commit is contained in:
parent
5754514c08
commit
bf9e7e11d4
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user