From 42bb0c59f8ff1bef190ca9d46fa938769af14768 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 17 Feb 2021 00:41:17 +0530 Subject: [PATCH] [MoveFiles] Fix when merger can't run :ci skip dl --- youtube_dlc/YoutubeDL.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dlc/YoutubeDL.py b/youtube_dlc/YoutubeDL.py index 67afeac01a..f88bc793ef 100644 --- a/youtube_dlc/YoutubeDL.py +++ b/youtube_dlc/YoutubeDL.py @@ -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)