UI - Fix wrong logic when dealing with webdriver/playwright watch screenshot settings (#1325)

This commit is contained in:
dgtlmoon
2023-01-21 13:47:32 +01:00
committed by GitHub
parent fba719ab8d
commit 7048a0acbd
2 changed files with 10 additions and 1 deletions

View File

@@ -652,7 +652,7 @@ def changedetection_app(config=None, datastore_o=None):
system_uses_webdriver = datastore.data['settings']['application']['fetch_backend'] == 'html_webdriver'
is_html_webdriver = False
if (watch.get('fetch_backend') == 'system' and system_uses_webdriver) or watch.get('fetch_backend') == 'html_requests':
if (watch.get('fetch_backend') == 'system' and system_uses_webdriver) or watch.get('fetch_backend') == 'html_webdriver':
is_html_webdriver = True
output = render_template("edit.html",