Revert "Handle rare bug when download is not deleted from download_dict on error"
This reverts commit 136924ffd4.
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
76e3db1946
commit
e5364f96e1
|
|
@ -66,7 +66,6 @@ class AriaDownloadStatus(Status):
|
||||||
status = MirrorStatus.STATUS_CANCELLED
|
status = MirrorStatus.STATUS_CANCELLED
|
||||||
elif download.has_failed:
|
elif download.has_failed:
|
||||||
status = MirrorStatus.STATUS_FAILED
|
status = MirrorStatus.STATUS_FAILED
|
||||||
self.__listener.onDownloadError('Unknown Error')
|
|
||||||
else:
|
else:
|
||||||
status = MirrorStatus.STATUS_DOWNLOADING
|
status = MirrorStatus.STATUS_DOWNLOADING
|
||||||
return status
|
return status
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue