UI fix - Fix logic for showing screenshot on diff page (#1379)

1392-incorrect-pdf-detect
dgtlmoon 2 years ago committed by GitHub
parent 41856c4ed8
commit 1a48965ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -892,8 +892,9 @@ def changedetection_app(config=None, datastore_o=None):
system_uses_webdriver = datastore.data['settings']['application']['fetch_backend'] == 'html_webdriver' system_uses_webdriver = datastore.data['settings']['application']['fetch_backend'] == 'html_webdriver'
is_html_webdriver = True if watch.get('fetch_backend') == 'html_webdriver' or ( is_html_webdriver = False
watch.get('fetch_backend', None) is None and system_uses_webdriver) else 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 password_enabled_and_share_is_off = False
if datastore.data['settings']['application'].get('password') or os.getenv("SALTED_PASS", False): if datastore.data['settings']['application'].get('password') or os.getenv("SALTED_PASS", False):

Loading…
Cancel
Save