aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-02-17 00:41:17 +0530
committerpukkandan <pukkandan@gmail.com>2021-02-17 00:42:27 +0530
commit42bb0c59f8ff1bef190ca9d46fa938769af14768 (patch)
treeed1ed49eb9136289e2d727296eb59e89ec862c2c
parentc3e1f0c4f26fdc2bc82e8294f6e97ae2924f1956 (diff)
downloadhypervideo-pre-42bb0c59f8ff1bef190ca9d46fa938769af14768.tar.lz
hypervideo-pre-42bb0c59f8ff1bef190ca9d46fa938769af14768.tar.xz
hypervideo-pre-42bb0c59f8ff1bef190ca9d46fa938769af14768.zip
[MoveFiles] Fix when merger can't run
:ci skip dl
-rw-r--r--youtube_dlc/YoutubeDL.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dlc/YoutubeDL.py b/youtube_dlc/YoutubeDL.py
index 67afeac01..f88bc793e 100644
--- a/youtube_dlc/YoutubeDL.py
+++ b/youtube_dlc/YoutubeDL.py
@@ -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)