Add missing None check

This commit is contained in:
arabcoders 2025-04-26 18:51:07 +03:00
parent ca10ce281b
commit 7a01a84063

View file

@ -787,6 +787,9 @@ class DownloadQueue(metaclass=Singleton):
for worker_id in workers:
worker = workers.get(worker_id, {})
if not worker:
continue
started = worker.get("started", None)
if not started:
LOG.debug(f"Worker '{worker_id}' not working yet.")