1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 02:32:44 +01:00

FileDownloader: fixed call to "report_error" of YoutubeDL

It was being called as "error"
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-06-26 16:32:47 +02:00
parent 52e8e1dc88
commit 2e32528012

View File

@ -137,7 +137,7 @@ def report_warning(self, *args, **kargs):
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."""