add cancelled as accepted status
This commit is contained in:
parent
71bd40a2e8
commit
bfe4ea6354
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue