mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 04:02:11 +00:00
FileDownloader: fixed call to "report_error" of YoutubeDL
It was being called as "error"
This commit is contained in:
parent
52e8e1dc88
commit
2e32528012
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class FileDownloader(object):
|
|||
self.ydl.report_warning(*args, **kargs)
|
||||
|
||||
def report_error(self, *args, **kargs):
|
||||
self.ydl.error(*args, **kargs)
|
||||
self.ydl.report_error(*args, **kargs)
|
||||
|
||||
def slow_down(self, start_time, byte_counter):
|
||||
"""Sleep if the download speed is over the rate limit."""
|
||||
|
|
Loading…
Reference in a new issue