[downloader] Fix file patching for real this time

Missed this one m(
This commit is contained in:
derrod 2020-04-21 20:18:19 +02:00
parent be8e0169d4
commit a8a0be5bd2

View file

@ -370,7 +370,7 @@ class DLManager(Process):
if existing_chunks and (cp.guid_num, cp.offset, cp.size) in existing_chunks: if existing_chunks and (cp.guid_num, cp.offset, cp.size) in existing_chunks:
reused += 1 reused += 1
ct.chunk_file = current_file.filename 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: else:
# add to DL list if not already in it # add to DL list if not already in it
if cp.guid_num not in chunks_in_dl_list: if cp.guid_num not in chunks_in_dl_list: