From 6746ce85a10cb24f3b4766ba7ab53bab577333a0 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 1 Sep 2021 02:38:58 +0200 Subject: [PATCH] [downloader] Fix wrong property being used This caused re-using old files to fail. --- legendary/downloader/mp/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/downloader/mp/manager.py b/legendary/downloader/mp/manager.py index 11c4c1e..eb1c817 100644 --- a/legendary/downloader/mp/manager.py +++ b/legendary/downloader/mp/manager.py @@ -464,7 +464,7 @@ class DLManager(Process): self.writer_queue.put(WriterTask( filename=current_file, shared_memory=res_shm, chunk_offset=task.chunk_offset, chunk_size=task.chunk_size, - chunk_guid=task.chunk_guid, cache_file=task.chunk_file, + chunk_guid=task.chunk_guid, old_file=task.chunk_file, flags=TaskFlags.RELEASE_MEMORY if task.cleanup else TaskFlags.NONE ), timeout=1.0) except Exception as e: