From 1a48965ba1542ecd33b17e04bb6b04aa4eeb5ee2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 3 Feb 2023 11:23:48 +0100 Subject: [PATCH] UI fix - Fix logic for showing screenshot on diff page (#1379) --- changedetectionio/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 23d57daf..12d26fc6 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -892,8 +892,9 @@ def changedetection_app(config=None, datastore_o=None): system_uses_webdriver = datastore.data['settings']['application']['fetch_backend'] == 'html_webdriver' - is_html_webdriver = True if watch.get('fetch_backend') == 'html_webdriver' or ( - watch.get('fetch_backend', None) is None and system_uses_webdriver) else False + is_html_webdriver = False + if (watch.get('fetch_backend') == 'system' and system_uses_webdriver) or watch.get('fetch_backend') == 'html_webdriver': + is_html_webdriver = True password_enabled_and_share_is_off = False if datastore.data['settings']['application'].get('password') or os.getenv("SALTED_PASS", False):