Fixed display gitchyness

This commit is contained in:
Samuel Walker 2024-06-20 16:17:24 -06:00
parent 4218eb3c55
commit d37333c569

View File

@ -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()