From eb3dca3805eb8a6212d22a11d3ee4846a61fcdbc Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 8 Feb 2022 13:00:18 +0100 Subject: [PATCH] Language fix "watches are rechecking." it actually puts them into an internal queue "watches are QUEUED for rechecking" --- changedetectionio/__init__.py | 2 +- changedetectionio/tests/test_backend.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index a332287b..574228eb 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -963,7 +963,7 @@ def changedetection_app(config=None, datastore_o=None): if watch_uuid not in running_uuids and not datastore.data['watching'][watch_uuid]['paused']: update_q.put(watch_uuid) i += 1 - flash("{} watches are rechecking.".format(i)) + flash("{} watches are queued for rechecking.".format(i)) return redirect(url_for('index', tag=tag)) # @todo handle ctrl break diff --git a/changedetectionio/tests/test_backend.py b/changedetectionio/tests/test_backend.py index 610e12b7..92b81891 100644 --- a/changedetectionio/tests/test_backend.py +++ b/changedetectionio/tests/test_backend.py @@ -50,7 +50,7 @@ def test_check_basic_change_detection_functionality(client, live_server): # Force recheck res = client.get(url_for("api_watch_checknow"), follow_redirects=True) - assert b'1 watches are rechecking.' in res.data + assert b'1 watches are queued for rechecking.' in res.data time.sleep(sleep_time_for_fetch_thread)