Skip to content

A feature-rich command-line audio/video downloader

Print EOL before "unable to write data" error

Ricardo Garcia0228ee978899
diff --git a/youtube-dl b/youtube-dl
index 86e247994d..6389c656e1 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