1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 10:42:37 +01:00
yt-dlp/yt_dlp/postprocessor
Paul Wrubel d75201a873
Use os.replace where applicable (#793)
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
2021-08-27 07:57:20 +05:30
..
__init__.py Misc fixes - See desc 2021-08-10 01:22:55 +05:30
common.py [downloader/ffmpeg] Allow passing custom arguments before -i 2021-08-24 04:24:12 +05:30
embedthumbnail.py Use os.replace where applicable (#793) 2021-08-27 07:57:20 +05:30
exec.py Misc fixes - See desc 2021-08-10 01:22:55 +05:30
ffmpeg.py Use os.replace where applicable (#793) 2021-08-27 07:57:20 +05:30
metadataparser.py minor bugfixes 2021-08-11 20:27:30 +05:30
movefilesafterdownload.py Allow running some postprocessors before actual download 2021-04-12 02:12:46 +05:30
sponskrub.py Use os.replace where applicable (#793) 2021-08-27 07:57:20 +05:30
xattrpp.py Completely change project name to yt-dlp (#85) 2021-02-25 00:15:56 +05:30