[downloader/fragment] use the documented names for fragment progress_hooks fields

This commit is contained in:
Remita Amine 2017-04-22 16:42:24 +01:00
parent fbf56be213
commit 3e0304fe6e
5 changed files with 14 additions and 12 deletions

View file

@ -227,7 +227,7 @@ class IsmFD(FragmentFD):
frag_index = 0
for i, segment in enumerate(segments):
frag_index += 1
if frag_index <= ctx['frag_index']:
if frag_index <= ctx['fragment_index']:
continue
count = 0
while count <= fragment_retries: