aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/http.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-01 10:43:58 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-01 10:43:58 +0100
commit33ec2ae8d9450a59273d2156bd2ef77d2bd93a66 (patch)
treeca5ff4e17ad0cad43495372afae1d40aa94be526 /youtube_dl/downloader/http.py
parenta0ddb8a2faaacdcf7b3a089ca9baeee5f310d03c (diff)
parentc801b2051a91ccddff5b3c5df23944229cd13266 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/downloader/http.py')
-rw-r--r--youtube_dl/downloader/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py
index 14b88efd3..8407727ba 100644
--- a/youtube_dl/downloader/http.py
+++ b/youtube_dl/downloader/http.py
@@ -133,7 +133,7 @@ class HttpFD(FileDownloader):
return False
try:
stream.write(data_block)
- except (IOError, OSError):
+ except (IOError, OSError) as err:
self.to_stderr(u"\n")
self.report_error(u'unable to write data: %s' % str(err))
return False