mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 02:45:12 +00:00
Use unpack operator for files to delete
This commit is contained in:
parent
4aa3c401d4
commit
1cae3bf46d
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ def run(self, info):
|
|||
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
|
||||
os.replace(temp_filename, filename)
|
||||
|
||||
files_to_delete = [] if self._already_have_subtitle else sub_filenames + list(json_subs.values())
|
||||
files_to_delete = [] if self._already_have_subtitle else [*sub_filenames, *json_subs.values()]
|
||||
return files_to_delete, info
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue