1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

Report no connect as error

This commit is contained in:
Sergey M․ 2014-03-05 22:21:19 +07:00
parent 52d6a9a61d
commit 826547870b

View file

@ -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: