[downloader/fragment] remove unused code
[youtube-dl] / youtube_dl / downloader / ism.py
index 338820e71cf1aa956cddfc4d978d64f07e9ba2fe..5f6f9faefbad62592d699135437ec81add27ae39 100644 (file)
@@ -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