mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 15:16:57 +01:00
Make signature of fake YoutubeDL.report_warning() match the real one (per 640d39f
)
This commit is contained in:
parent
2bd001fa8c
commit
15b06163a8
@ -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 New Issue
Block a user