From 40e609fa35110dda6a6aa3524b473373dc58a6c6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 19 May 2022 10:47:34 +0100 Subject: [PATCH] Tidying --- webapp_theme_designer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/webapp_theme_designer.py b/webapp_theme_designer.py index 66ad9b3d4..0a7d21450 100644 --- a/webapp_theme_designer.py +++ b/webapp_theme_designer.py @@ -223,11 +223,9 @@ def html_theme_designer(css_cache: {}, base_dir: str, 'name="submitThemeDesigner" accesskey="' + submit_key + '">' + \ translate['Submit'] + '\n \n' - background = None contrast_warning = '' if theme_json.get('main-bg-color'): background = theme_json['main-bg-color'] - foreground = None if theme_json.get('main-fg-color'): foreground = theme_json['main-fg-color'] contrast = color_contrast(background, foreground)