]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
FileDownloader: fixed call to "report_error" of YoutubeDL
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Jun 2013 14:32:47 +0000 (16:32 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Jun 2013 14:32:47 +0000 (16:32 +0200)
It was being called as "error"

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."""