]> jfr.im git - yt-dlp.git/commit
[utils] Improve file locking
authorpukkandan <redacted>
Thu, 3 Mar 2022 13:27:38 +0000 (18:57 +0530)
committerpukkandan <redacted>
Thu, 3 Mar 2022 13:58:47 +0000 (19:28 +0530)
commit747c0bd127ebd205278d31ec7216ffa02fe96734
treefcd4fb4caf47f2e970ce85c4aa94aa33b7875ff7
parentacea8d7cfb60d9f9c33ed7662f72110531a54e6d
[utils] Improve file locking

* Implement non-blocking locks for windows
* Don't raise error when closing a closed file
yt_dlp/utils.py