Skip to content

Commit

Permalink
Handle rare bug when download is not deleted from download_dict on error
Browse files Browse the repository at this point in the history
Signed-off-by: lzzy12 <[email protected]>
  • Loading branch information
lzzy12 committed Mar 30, 2020
1 parent 52e8fbe commit 136924f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def status(self):
status = MirrorStatus.STATUS_CANCELLED
elif download.has_failed:
status = MirrorStatus.STATUS_FAILED
self._listener.onDownloadError('Unknown Error')
else:
status = MirrorStatus.STATUS_DOWNLOADING
return status
Expand Down

0 comments on commit 136924f

Please sign in to comment.