[MoveFiles] Fix when merger can't run

:ci skip dl
pull/310/head
pukkandan 4 years ago
parent c3e1f0c4f2
commit 42bb0c59f8

@ -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)

Loading…
Cancel
Save