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:
lzzy12 2020-04-13 13:32:39 +05:30
parent 76e3db1946
commit e5364f96e1

View File

@ -66,7 +66,6 @@ class AriaDownloadStatus(Status):
status = MirrorStatus.STATUS_CANCELLED
elif download.has_failed:
status = MirrorStatus.STATUS_FAILED
self.__listener.onDownloadError('Unknown Error')
else:
status = MirrorStatus.STATUS_DOWNLOADING
return status