Fix progress update in torrent download

This commit is contained in:
Shivam Jha 2019-11-10 01:24:13 +05:30 committed by GitHub
parent 3c6093a5f2
commit df82d5944e
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class DownloadHelper:
if self.__is_torrent:
# Waiting for the actual gid
download = self.__get_download()
while download.is_complete: # Check every few seconds
while not download.is_complete: # Check every few seconds
status_list = get_download_status_list()
index = get_download_index(status_list, self.__get_download().gid)
download = self.__get_download()