From 96cf6898facb1f91945fe83b9172531d5e7d210a Mon Sep 17 00:00:00 2001 From: Henry Cooke Date: Mon, 7 Nov 2011 18:25:42 -0500 Subject: [PATCH] fixed a report error when in stdout mode --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 4f76f670b..3ae0aaab5 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1005,7 +1005,7 @@ class FileDownloader(object): return False if self.params.get('writetostdout', False): stream.close() # if we're using stdout, it was already open - self.report_finish() + self.report_finish() if data_len is not None and byte_counter != data_len: raise ContentTooShortError(byte_counter, long(data_len)) self.try_rename(tmpfilename, filename)