]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/FileDownloader.py
Fix description of the modularization.
[youtubedl] / youtube_dl / FileDownloader.py
index 445f3e85e6813fe82fc20bc74d3e33fc83d997b2..155895fe26bb13c11d0e5ae5cec5379a911460df 100644 (file)
@@ -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."""