BinSearch: only check if there aren't enough parts
This commit is contained in:
@@ -53,7 +53,7 @@ class Base(NZBProvider):
|
|||||||
total = tryInt(parts.group('total'))
|
total = tryInt(parts.group('total'))
|
||||||
parts = tryInt(parts.group('parts'))
|
parts = tryInt(parts.group('parts'))
|
||||||
|
|
||||||
if (total / parts) < 0.95 or ((total / parts) >= 0.95 and not ('par2' in info.text.lower() or 'pa3' in info.text.lower())):
|
if (total / parts) < 1 and ((total / parts) < 0.95 or ((total / parts) >= 0.95 and not ('par2' in info.text.lower() or 'pa3' in info.text.lower()))):
|
||||||
log.info2('Wrong: \'%s\', not complete: %s out of %s', (item['name'], parts, total))
|
log.info2('Wrong: \'%s\', not complete: %s out of %s', (item['name'], parts, total))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user