Language fix "watches are rechecking." it actually puts them into an internal queue "watches are QUEUED for rechecking"

pull/413/head
dgtlmoon 2022-02-08 13:00:18 +01:00
rodzic a580c238b6
commit eb3dca3805
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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)