From b8fc3db3711425c5fc6fcb64f9cebb5bd202b1be Mon Sep 17 00:00:00 2001 From: krateng Date: Fri, 31 Dec 2021 23:12:18 +0100 Subject: [PATCH] Removed duplicate jinja context --- maloja/server.py | 1 - maloja/web/jinja/admin_settings.jinja | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/maloja/server.py b/maloja/server.py index 015596e..f64e83f 100644 --- a/maloja/server.py +++ b/maloja/server.py @@ -223,7 +223,6 @@ def static_html(name): loc_context = { "adminmode":adminmode, - "config":malojaconfig, "apikey":request.cookies.get("apikey") if adminmode else None, "apikeys":apikeystore, "_urikeys":keys, #temporary! diff --git a/maloja/web/jinja/admin_settings.jinja b/maloja/web/jinja/admin_settings.jinja index 2b6b53e..8c3e06a 100644 --- a/maloja/web/jinja/admin_settings.jinja +++ b/maloja/web/jinja/admin_settings.jinja @@ -4,5 +4,5 @@ {% block maincontent %} -{{ config.html() }} +{{ settings.html() }} {% endblock %}