diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-03-05 22:21:19 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-03-05 22:21:19 +0700 |
commit | 826547870bf83da1c8a57ff1ed812cb598f82520 (patch) | |
tree | 64390a23cb6aff7ef8ed0e52faa570df2389ceb5 /youtube_dl | |
parent | 52d6a9a61dbb4fc6e642e340255cf2230ccbee23 (diff) |
Report no connect as error
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/rtmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py index 034875ab7..489381da6 100644 --- a/youtube_dl/downloader/rtmp.py +++ b/youtube_dl/downloader/rtmp.py @@ -160,7 +160,7 @@ class RtmpFD(FileDownloader): retval = run_rtmpdump(args) if retval == RD_NO_CONNECT: - self.to_screen(u'[rtmpdump] Could not connect to RTMP server.') + self.report_error(u'[rtmpdump] Could not connect to RTMP server.') return False while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test: |