[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
1 changed files with 3 additions and 0 deletions

View File

@ -2360,6 +2360,9 @@ class YoutubeDL(object):
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)