From 52039c29b4944d3b4a20263a43889d52f4e181bc Mon Sep 17 00:00:00 2001 From: shypike Date: Wed, 12 Jun 2013 21:03:29 +0200 Subject: [PATCH] Accept partial par2 file when no others are available. --- sabnzbd/nzbstuff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sabnzbd/nzbstuff.py b/sabnzbd/nzbstuff.py index 95a1666..cdb47be 100644 --- a/sabnzbd/nzbstuff.py +++ b/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?