mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 13:46:53 +01:00
d75201a873
When using ```py os.remove(encodeFilename(filename)) os.rename(encodeFilename(temp_filename), encodeFilename(filename)) ``` the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead Authored by: paulwrubel |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
embedthumbnail.py | ||
exec.py | ||
ffmpeg.py | ||
metadataparser.py | ||
movefilesafterdownload.py | ||
sponskrub.py | ||
xattrpp.py |