]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Use report_warning when a not working IE will be uses
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 28 Apr 2013 15:12:07 +0000 (17:12 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 28 Apr 2013 15:12:07 +0000 (17:12 +0200)
youtube_dl/FileDownloader.py

index 2db686d62e571cd01d397319858f8bc5f5f77634..80c2546ea9b571005088716a63dcf3291ca384be 100644 (file)
@@ -455,7 +455,7 @@ class FileDownloader(object):
 
             # Warn if the _WORKING attribute is False
             if not ie.working():
-                self.to_stderr(u'WARNING: the program functionality for this site has been marked as broken, '
+                self.report_warning(u'the program functionality for this site has been marked as broken, '
                                u'and will probably not work. If you want to go on, use the -i option.')
 
             # Suitable InfoExtractor found