summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRicardo Garcia <[email protected]>2010-04-17 18:57:51 +0200
committerRicardo Garcia <[email protected]>2010-10-31 11:27:01 +0100
commit0228ee978899c9ba563b9bfd0ef52336dfe70c30 (patch)
treef61397c659fddbdad3855013b1ee7af868844174
parent131efd1ae0899f261fe9faccb91f5c9c3aa974c5 (diff)
downloadyoutube-dl-0228ee978899c9ba563b9bfd0ef52336dfe70c30.tar.gz
youtube-dl-0228ee978899c9ba563b9bfd0ef52336dfe70c30.zip
Print EOL before "unable to write data" error
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 86e247994..6389c656e 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -569,7 +569,7 @@ class FileDownloader(object):
try:
stream.write(data_block)
except (IOError, OSError), err:
- self.trouble('ERROR: unable to write data: %s' % str(err))
+ self.trouble('\nERROR: unable to write data: %s' % str(err))
block_size = self.best_block_size(after - before, data_block_len)
# Progress message