projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3524175
)
Remove superfluous whitespace
author
Sergey M․
<dstftw@gmail.com>
Wed, 5 Mar 2014 15:16:50 +0000
(22:16 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 5 Mar 2014 15:16:50 +0000
(22:16 +0700)
youtube_dl/downloader/rtmp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/rtmp.py
b/youtube_dl/downloader/rtmp.py
index c3194cb5e6ffb65254a953dfbbb31951700f75bf..67461f160707d1a5e56643181b973728a354bf16 100644
(file)
--- a/
youtube_dl/downloader/rtmp.py
+++ b/
youtube_dl/downloader/rtmp.py
@@
-158,7
+158,7
@@
class RtmpFD(FileDownloader):
retval = run_rtmpdump(args)
- while (retval == RD_INCOMPLETE or retval == RD_
FAILED) and not test:
+ while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test:
prevsize = os.path.getsize(encodeFilename(tmpfilename))
self.to_screen(u'[rtmpdump] %s bytes' % prevsize)
time.sleep(5.0) # This seems to be needed