Fix `--skip-unavailable-fragments`

Bug in d71fd41249
Closes #3437
pull/3446/head
pukkandan 3 years ago
parent abfecb7bc1
commit e06bd8800f
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -134,6 +134,8 @@ class FragmentFD(FileDownloader):
return True
def _read_fragment(self, ctx):
if not ctx.get('fragment_filename_sanitized'):
return None
try:
down, frag_sanitized = self.sanitize_open(ctx['fragment_filename_sanitized'], 'rb')
except FileNotFoundError:

Loading…
Cancel
Save