mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-16 20:37:29 +00:00
Make signature of fake YoutubeDL.report_warning() match the real one (per 640d39f
)
This commit is contained in:
parent
2bd001fa8c
commit
15b06163a8
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class YoutubeDL(youtube_dl.YoutubeDL):
|
|||
self.processed_info_dicts = []
|
||||
super(YoutubeDL, self).__init__(*args, **kwargs)
|
||||
|
||||
def report_warning(self, message):
|
||||
def report_warning(self, message, *args, **kwargs):
|
||||
# Don't accept warnings during tests
|
||||
raise ExtractorError(message)
|
||||
|
||||
|
|
Loading…
Reference in a new issue