|
|
|
@ -1427,6 +1427,13 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
|
update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid, 'skip_when_checksum_same': False}))
|
|
|
|
|
flash("{} watches queued for rechecking".format(len(uuids)))
|
|
|
|
|
|
|
|
|
|
elif (op == 'clear-errors'):
|
|
|
|
|
for uuid in uuids:
|
|
|
|
|
uuid = uuid.strip()
|
|
|
|
|
if datastore.data['watching'].get(uuid):
|
|
|
|
|
datastore.data['watching'][uuid]["last_error"] = False
|
|
|
|
|
flash(f"{len(uuids)} watches errors cleared")
|
|
|
|
|
|
|
|
|
|
elif (op == 'clear-history'):
|
|
|
|
|
for uuid in uuids:
|
|
|
|
|
uuid = uuid.strip()
|
|
|
|
|