From d93926a8b6d73fe7580266a66b72c6f27e4be1b3 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Wed, 3 Feb 2021 09:29:22 +0100 Subject: [PATCH] Minor fix - load extra stylesheet only once --- backend/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/backend.py b/backend/backend.py index fb4d1db5..ec112e80 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -239,8 +239,8 @@ def import_page(): @app.route("/diff/", methods=['GET']) def diff_history_page(uuid): global messages - global extra_stylesheets - extra_stylesheets.append('/static/css/diff.css') + + extra_stylesheets=['/static/css/diff.css'] watch = datastore.data['watching'][uuid]