Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Revert and fix `utils.bug_reports_message()` (1)

skipci
  • Loading branch information
dirkf committed Apr 5, 2024
1 parent e83b4e4 commit 18d4b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions youtube_dl/extractor/common.py
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(
self.report_warning(bug_reports_message(
'Ignoring subtitle tracks found in the {0} manifest; '
'if any subtitle tracks are missing, {1}'.format(name, bug_reports_message()),
only_once=True)
'if any subtitle tracks are missing,'.format(name)
), 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 18d4b34

Please sign in to comment.