mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-07 07:15:00 +01:00
Fix inconsistent use of report_warning
This commit is contained in:
parent
33245766ab
commit
6a39ee13f7
14 changed files with 31 additions and 31 deletions
|
|
@ -79,7 +79,7 @@ class ElonetIE(InfoExtractor):
|
|||
elif fmt == 'mpd':
|
||||
subs = self._parse_mpd_subtitles(doc)
|
||||
else:
|
||||
self._downloader.report_warning(
|
||||
self.report_warning(
|
||||
"Cannot download subtitles from '%s' streams." % (fmt))
|
||||
subs = {}
|
||||
return subs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue