Fixed display gitchyness
This commit is contained in:
parent
4218eb3c55
commit
d37333c569
@ -203,8 +203,8 @@ def ftpDownload(ftp, file, stream):
|
||||
time_left = (size-total)/(total/(time.time()-start))
|
||||
ETA.set("ETA: " + str(datetime.timedelta(seconds=math.ceil(time_left))))
|
||||
pbar.set(total/size)
|
||||
dialog.update()
|
||||
timer = time.time()
|
||||
dialog.update()
|
||||
ftp.retrbinary("RETR " + file, downloadCallback)
|
||||
dialog.quit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user