Resolve lint warning
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user