Browse Source

Accept partial par2 file when no others are available.

tags/0.7.13
shypike 12 years ago
parent
commit
52039c29b4
  1. 4
      sabnzbd/nzbstuff.py

4
sabnzbd/nzbstuff.py

@ -889,8 +889,8 @@ class NzbObject(TryList):
head, vol, block = analyse_par2(fn)
## Is a par2file and repair mode activated
if head and (self.repair or cfg.allow_streaming()):
## Skip if mini-par2 is not complete
if not block and nzf.bytes_left:
## Skip if mini-par2 is not complete and there are more par2 files
if not block and nzf.bytes_left and self.extrapars.get(head):
return
nzf.set_par2(head, vol, block)
## Already got a parfile for this set?

Loading…
Cancel
Save