未验证 提交 e06bd880 编写于 作者: P pukkandan

Fix `--skip-unavailable-fragments`

Bug in d71fd412
Closes #3437
上级 abfecb7b
......@@ -134,6 +134,8 @@ def _download_fragment(self, ctx, frag_url, info_dict, headers=None, request_dat
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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册