mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[downloader] Fix file patching for real this time
Missed this one m(
This commit is contained in:
parent
be8e0169d4
commit
a8a0be5bd2
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue