A feature-rich command-line audio/video downloader
Abort download in case of error writing file data to disk
Ricardo Garciad67e097462e2
diff --git a/youtube-dl b/youtube-dlindex 727fadea47..fb231ae400 100755--- a/youtube-dl+++ b/youtube-dl@@ -594,7 +594,8 @@ class FileDownloader(object):try:stream.write(data_block)except (IOError, OSError), err:- self.trouble('\nERROR: unable to write data: %s' % str(err))+ self.trouble(u'\nERROR: unable to write data: %s' % str(err))+ return Falseblock_size = self.best_block_size(after - before, data_block_len)# Progress message