projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e67c2
)
Fix reporting when file size is unkown (Fixes #1731)
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 6 Nov 2013 13:02:33 +0000
(14:02 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 6 Nov 2013 13:02:33 +0000
(14:02 +0100)
youtube_dl/FileDownloader.py
patch
|
blob
|
history
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index 47f6788113a6b9ef7b560e7b2c5597716a5b4823..b0f26fc6f24989c1cd43fbf8d4c92fff6283b4e8 100644
(file)
--- a/
youtube_dl/FileDownloader.py
+++ b/
youtube_dl/FileDownloader.py
@@
-557,7
+557,7
@@
class FileDownloader(object):
# Progress message
speed = self.calc_speed(start, time.time(), byte_counter - resume_len)
if data_len is None:
- self.report_progress('Unknown %', data_len_str, speed
_str
, 'Unknown ETA')
+ self.report_progress('Unknown %', data_len_str, speed, 'Unknown ETA')
eta = None
else:
percent = self.calc_percent(byte_counter, data_len)