Don't process a watch if it was paused after being queued (#825)

crash-protection-when-watched-queued-deleted
dgtlmoon 2022-08-09 10:48:18 +02:00 zatwierdzone przez GitHub
rodzic a7d005109f
commit 034b1330d4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -122,7 +122,7 @@ class update_worker(threading.Thread):
else:
self.current_uuid = uuid
if uuid in list(self.datastore.data['watching'].keys()):
if uuid in list(self.datastore.data['watching'].keys()) and not self.datastore.data['watching'][uuid].get('paused'):
changed_detected = False
contents = b''
screenshot = False