mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
dash: complete the progress bar after file is downloaded
The progress bar wasn't updated after the downloaded completed, so the final progress bar would look something like this: [99/100][===============================.] ETA: 0:00:00 This can be interpreted as the file didn't download completely. Reported-by: rooth
This commit is contained in:
parent
c125540498
commit
556d85e31f
@ -94,5 +94,6 @@ class DASH(VideoRetriever):
|
||||
|
||||
if self.options.output != "-":
|
||||
file_d.close()
|
||||
progressbar(bytes_so_far, total_size, "ETA: complete")
|
||||
progress_stream.write('\n')
|
||||
self.finished = True
|
||||
|
Loading…
Reference in New Issue
Block a user