projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d6a9a
)
Report no connect as error
author
Sergey M․
<dstftw@gmail.com>
Wed, 5 Mar 2014 15:21:19 +0000
(22:21 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 5 Mar 2014 15:21:19 +0000
(22:21 +0700)
youtube_dl/downloader/rtmp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/rtmp.py
b/youtube_dl/downloader/rtmp.py
index 034875ab7f12619a72579c52ee58af4377d259a7..489381da679b689effc4093b9ead21ebe160f7ed 100644
(file)
--- 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: