Fixed failure of os.rename after receiving file finished due to file not being closed.
authorVasyl' Vavrychuk <vvavrychuk@gmail.com>
Sun, 5 Dec 2010 18:57:46 +0000 (20:57 +0200)
committerVasyl' Vavrychuk <vvavrychuk@gmail.com>
Sun, 5 Dec 2010 18:57:46 +0000 (20:57 +0200)
commit6f0ff3bab9f213790817e3344bb5025a7fbea1e4
treebf51324d664457b34a332500f24fd664d7058d7b
parenta9806fd83d7efc4cc1dcd11174c839f637d0c105
Fixed failure of os.rename after receiving file finished due to file not being closed.

Following error happen while at the end of _do_download called try_rename
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
youtube-dl