mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-03 12:09:35 +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
|
|
@ -280,7 +280,7 @@ class IqiyiIE(InfoExtractor):
|
|||
msg = 'error %s' % code
|
||||
if validation_result.get('msg'):
|
||||
msg += ': ' + validation_result['msg']
|
||||
self._downloader.report_warning('unable to log in: ' + msg)
|
||||
self.report_warning('unable to log in: ' + msg)
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue