diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-30 19:30:31 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-30 19:30:31 +0600 |
commit | 2c2f1efdcd37f88196bb2b546e6d8bc7c22f3b6a (patch) | |
tree | f0a2019b267bc5acb0ba06f30dd1273de1db60c8 | |
parent | 09104e9930cff6cc5e9d3ab1951fdbcbb5e96840 (diff) |
[downloader/fragment] Remove superfluous whitespace
-rw-r--r-- | youtube_dl/downloader/fragment.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py index e2f34eec6..8b96eceb9 100644 --- a/youtube_dl/downloader/fragment.py +++ b/youtube_dl/downloader/fragment.py @@ -79,15 +79,13 @@ class FragmentFD(FileDownloader): return time_now = time.time() - + state['elapsed'] = time_now - start frag_total_bytes = s.get('total_bytes') or 0 - if not ctx['live']: estimated_size = ( (ctx['complete_frags_downloaded_bytes'] + frag_total_bytes) / (state['frag_index'] + 1) * total_frags) state['total_bytes_estimate'] = estimated_size - state['elapsed'] = time_now - start if s['status'] == 'finished': state['frag_index'] += 1 |