Skip to content

Commit

Permalink
[extractor/common] Fix crash in _report_ignoring_subs
Browse files Browse the repository at this point in the history
  • Loading branch information
salty-horse committed Apr 3, 2024
1 parent 21792b8 commit aaaf18a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions youtube_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1812,10 +1812,10 @@ def _m3u8_meta_format(self, m3u8_url, ext=None, preference=None, m3u8_id=None):
}

def _report_ignoring_subs(self, name):
self.report_warning(bug_reports_message(
self.report_warning(
'Ignoring subtitle tracks found in the {0} manifest; '
'if any subtitle tracks are missing,'.format(name)
), only_once=True)
'if any subtitle tracks are missing, {1}'.format(name, bug_reports_message()),
only_once=True)

def _extract_m3u8_formats(self, m3u8_url, video_id, ext=None,
entry_protocol='m3u8', preference=None,
Expand Down

0 comments on commit aaaf18a

Please sign in to comment.