Browse Source

Report no connect as error

totalwebcasting
Sergey M․ 11 years ago
parent
commit
826547870b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/downloader/rtmp.py

+ 1
- 1
youtube_dl/downloader/rtmp.py 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:


Loading…
Cancel
Save