Explorar el Código

Print EOL before "unable to write data" error

Ricardo Garcia hace 15 años
padre
commit
0228ee9788
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      youtube-dl

+ 1 - 1
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