Minor fix - load extra stylesheet only once

pull/11/head
Leigh Morresi 4 years ago
parent 7072858814
commit d93926a8b6

@ -239,8 +239,8 @@ def import_page():
@app.route("/diff/<string:uuid>", methods=['GET']) @app.route("/diff/<string:uuid>", methods=['GET'])
def diff_history_page(uuid): def diff_history_page(uuid):
global messages global messages
global extra_stylesheets
extra_stylesheets.append('/static/css/diff.css') extra_stylesheets=['/static/css/diff.css']
watch = datastore.data['watching'][uuid] watch = datastore.data['watching'][uuid]

Loading…
Cancel
Save