From bfe4ea63540781f90f0aa444b4a96b4a04e9e3cc Mon Sep 17 00:00:00 2001 From: arabcoders Date: Wed, 27 Aug 2025 17:14:49 +0300 Subject: [PATCH] add cancelled as accepted status --- app/library/DownloadQueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/DownloadQueue.py b/app/library/DownloadQueue.py index 772a6e38..d5acc5d9 100644 --- a/app/library/DownloadQueue.py +++ b/app/library/DownloadQueue.py @@ -980,7 +980,7 @@ class DownloadQueue(metaclass=Singleton): self._active[entry.info._id] = entry await entry.start() - if entry.info.status not in ("finished", "skip"): + if entry.info.status not in ("finished", "skip", "cancelled"): if not entry.info.error: entry.info.error = f"Download failed with status '{entry.info.status}'." entry.info.status = "error"