From a8a0be5bd2574d4fa133ed095a4d14875a35a80c Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 21 Apr 2020 20:18:19 +0200 Subject: [PATCH] [downloader] Fix file patching for real this time Missed this one m( --- legendary/downloader/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/downloader/manager.py b/legendary/downloader/manager.py index eb923ff..1eb5a1a 100644 --- a/legendary/downloader/manager.py +++ b/legendary/downloader/manager.py @@ -370,7 +370,7 @@ class DLManager(Process): if existing_chunks and (cp.guid_num, cp.offset, cp.size) in existing_chunks: reused += 1 ct.chunk_file = current_file.filename - ct.offset = existing_chunks[(cp.guid_num, cp.offset, cp.size)] + ct.chunk_offset = existing_chunks[(cp.guid_num, cp.offset, cp.size)] else: # add to DL list if not already in it if cp.guid_num not in chunks_in_dl_list: