aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/ism.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-04-22 18:19:47 +0100
committerRemita Amine <remitamine@gmail.com>2017-04-22 18:19:47 +0100
commit4abdba643cc2d610fbbfe7ece9ee97a3df98ad33 (patch)
tree1d0b92f76cdbb291752dc4cb37c753304c556abc /youtube_dl/downloader/ism.py
parent3e0304fe6e3a194cfb04f21aa261effb0850da40 (diff)
[downloader/fragment] remove unused code
Diffstat (limited to 'youtube_dl/downloader/ism.py')
-rw-r--r--youtube_dl/downloader/ism.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/youtube_dl/downloader/ism.py b/youtube_dl/downloader/ism.py
index 338820e71..5f6f9faef 100644
--- a/youtube_dl/downloader/ism.py
+++ b/youtube_dl/downloader/ism.py
@@ -232,10 +232,6 @@ class IsmFD(FragmentFD):
count = 0
while count <= fragment_retries:
try:
- success = ctx['dl'].download(target_filename, {
- 'url': segment_url,
- 'http_headers': info_dict.get('http_headers'),
- })
success, frag_content = self._download_fragment(ctx, segment['url'], info_dict)
if not success:
return False