0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

[MoveFiles] Fix when merger can't run

:ci skip dl
This commit is contained in:
pukkandan 2021-02-17 00:41:17 +05:30
parent c3e1f0c4f2
commit 42bb0c59f8

View file

@ -2360,6 +2360,9 @@ def correct_ext(filename):
info_dict['__files_to_merge'] = downloaded
# Even if there were no downloads, it is being merged only now
info_dict['__real_download'] = True
else:
for file in downloaded:
files_to_move[file] = None
else:
# Just a single file
dl_filename = existing_file(full_filename, temp_filename)