Print EOL before "unable to write data" error
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sat, 17 Apr 2010 16:57:51 +0000 (18:57 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:27:01 +0000 (11:27 +0100)
youtube-dl

index 86e247994d86cc00b3be47bea957eb1edbd99053..6389c656e1d2711d39ef7f00b3dd4f6edf8499f6 100755 (executable)
@@ -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