projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PEP8: W503
[youtube-dl]
/
youtube_dl
/
downloader
/
f4m.py
diff --git
a/youtube_dl/downloader/f4m.py
b/youtube_dl/downloader/f4m.py
index b40ebfa50b9cc5e927b26fbea38d340d466bb758..7b8fe8cf57cfb57672f153512d60c93d4fe18b62 100644
(file)
--- a/
youtube_dl/downloader/f4m.py
+++ b/
youtube_dl/downloader/f4m.py
@@
-325,8
+325,8
@@
class F4mFD(FileDownloader):
state['frag_index'] += 1
estimated_size = (
state['frag_index'] += 1
estimated_size = (
- (state['downloaded_bytes'] + frag_total_bytes)
-
/
(state['frag_index'] + 1) * total_frags)
+ (state['downloaded_bytes'] + frag_total_bytes)
/
+ (state['frag_index'] + 1) * total_frags)
time_now = time.time()
state['total_bytes_estimate'] = estimated_size
state['elapsed'] = time_now - start
time_now = time.time()
state['total_bytes_estimate'] = estimated_size
state['elapsed'] = time_now - start