A feature-rich command-line audio/video downloader
Fixed failure of os.rename after receiving file finished due to file not being closed.
Vasyl' Vavrychuk6f0ff3bab9f2
diff --git a/youtube-dl b/youtube-dlindex d0584a3126..6b5f5693d2 100755--- a/youtube-dl+++ b/youtube-dl@@ -640,6 +640,7 @@ class FileDownloader(object):# Apply rate limitself.slow_down(start, byte_counter)+ stream.close()self.report_finish()if data_len is not None and str(byte_counter) != data_len:raise ContentTooShortError(byte_counter, long(data_len))