1
0
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:
Olof Johansson 2016-04-02 17:30:18 +02:00
parent c125540498
commit 556d85e31f

View File

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