about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-04-28 17:12:07 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-04-28 17:12:07 +0200
commit767e00277f379410288476ecd05622968eec1d1b (patch)
tree39b41bf959c8f7da23e26d39160cf84b0816cd49
parent6ce533a2205eec9cd94e12a6a8d281ed852b5091 (diff)
downloadyoutube-dl-767e00277f379410288476ecd05622968eec1d1b.tar.gz
youtube-dl-767e00277f379410288476ecd05622968eec1d1b.tar.xz
youtube-dl-767e00277f379410288476ecd05622968eec1d1b.zip
Use report_warning when a not working IE will be uses
-rw-r--r--youtube_dl/FileDownloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
index 2db686d62..80c2546ea 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -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