This commit is contained in:
2019-05-17 21:35:48 +08:00
committed by JerryYan
parent b4559f6771
commit fecd35844f
3 changed files with 6 additions and 15 deletions

View File

@ -26,8 +26,8 @@ def download():
isDownload = True
Common.appendDownloadStatus("Download >{}< Start".format(path))
f = open(path, "wb")
_size = 0
try:
_size = 0
for t in p.iter_content(chunk_size=64 * 1024):
if Common.forceNotDownload:
Common.modifyLastDownloadStatus("Force Stop Download".format(path))