Fix linting issues

This commit is contained in:
Patrick Smith
2018-12-05 10:54:52 -05:00
parent 947e4b682a
commit f4e49a8e9b
2 changed files with 6 additions and 6 deletions

View File

@@ -88,11 +88,11 @@ def pageWindow(pagination, size=2):
def renderAuditEvent(event):
template_name = 'audit_log/events/{}.html'.format(event.resource_type)
template_name = "audit_log/events/{}.html".format(event.resource_type)
try:
return render_template(template_name, event=event)
except TemplateNotFound:
return render_template('audit_log/events/default.html', event=event)
return render_template("audit_log/events/default.html", event=event)
def register_filters(app):