UI - Clone/copy watch - A paused watch should not be checked when copied/cloned #1471.

dont-create-jpg-copy-of-png
dgtlmoon 2 years ago
parent a578de36c5
commit 2bc988dffc

@ -1168,6 +1168,7 @@ def changedetection_app(config=None, datastore_o=None):
new_uuid = datastore.clone(uuid) new_uuid = datastore.clone(uuid)
if new_uuid: if new_uuid:
if not datastore.data['watching'].get(uuid).get('paused'):
update_q.put(queuedWatchMetaData.PrioritizedItem(priority=5, item={'uuid': new_uuid, 'skip_when_checksum_same': True})) update_q.put(queuedWatchMetaData.PrioritizedItem(priority=5, item={'uuid': new_uuid, 'skip_when_checksum_same': True}))
flash('Cloned.') flash('Cloned.')

Loading…
Cancel
Save