projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f918ec7
)
Fix Python 3 errors with rmtp downloads
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 3 Mar 2013 21:38:38 +0000
(22:38 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 3 Mar 2013 21:38:38 +0000
(22:38 +0100)
youtube_dl/FileDownloader.py
patch
|
blob
|
history
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index 73f8dbd5f9f7c42f3e65e5758e49ff4d400a2ad5..57f741c306470ca174cdb0f1681885f8ee4872dc 100644
(file)
--- a/
youtube_dl/FileDownloader.py
+++ b/
youtube_dl/FileDownloader.py
@@
-575,7
+575,7
@@
class FileDownloader(object):
# Check for rtmpdump first
try:
- subprocess.call(['rtmpdump', '-h'], stdout=(
file
(os.path.devnull, 'w')), stderr=subprocess.STDOUT)
+ subprocess.call(['rtmpdump', '-h'], stdout=(
open
(os.path.devnull, 'w')), stderr=subprocess.STDOUT)
except (OSError, IOError):
self.trouble(u'ERROR: RTMP download detected but "rtmpdump" could not be run')
return False