mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-30 19:02:55 +01:00
Print EOL before "unable to write data" error
This commit is contained in:
parent
131efd1ae0
commit
0228ee9788
@ -569,7 +569,7 @@ class FileDownloader(object):
|
|||||||
try:
|
try:
|
||||||
stream.write(data_block)
|
stream.write(data_block)
|
||||||
except (IOError, OSError), err:
|
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)
|
block_size = self.best_block_size(after - before, data_block_len)
|
||||||
|
|
||||||
# Progress message
|
# Progress message
|
||||||
|
Loading…
Reference in New Issue
Block a user