[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 @@ class YoutubeDL(object):
info_dict['__files_to_merge'] = downloaded info_dict['__files_to_merge'] = downloaded
# Even if there were no downloads, it is being merged only now # Even if there were no downloads, it is being merged only now
info_dict['__real_download'] = True info_dict['__real_download'] = True
else:
for file in downloaded:
files_to_move[file] = None
else: else:
# Just a single file # Just a single file
dl_filename = existing_file(full_filename, temp_filename) dl_filename = existing_file(full_filename, temp_filename)