diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-04-28 03:24:59 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-04-28 03:26:19 +0700 |
commit | c0fa4245cea1dc493e5a72e36644114a2743039c (patch) | |
tree | f55ff89575cd525018b50e9f43d786a1f2409b4e /youtube_dl/downloader | |
parent | 8814ae42bc756b97aa0b341792d70ddcbab1de3b (diff) |
[downloader/fragment] Remove assert for resume_len when no fragments downloaded
This may be incorrect due some header (e.g. flv header in f4m downloader)
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/fragment.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py index bb9e82578..d529ae09a 100644 --- a/youtube_dl/downloader/fragment.py +++ b/youtube_dl/downloader/fragment.py @@ -155,8 +155,6 @@ class FragmentFD(FileDownloader): self._write_ytdl_file(ctx) if ctx['fragment_index'] > 0: assert resume_len > 0 - else: - assert resume_len == 0 dest_stream, tmpfilename = sanitize_open(tmpfilename, open_mode) |