Don't give negative score for non matching size
This commit is contained in:
1 parent
df14032107
commit
b56c897e4b
1 file changed
-2
@@ -325,8 +325,6 @@ class QualityPlugin(Plugin):
|
|||||||
if tryInt(quality['size_min']) <= tryInt(size) <= tryInt(quality['size_max']):
|
if tryInt(quality['size_min']) <= tryInt(size) <= tryInt(quality['size_max']):
|
||||||
log.info2('Found %s via release size: %s MB < %s MB < %s MB', (quality['identifier'], quality['size_min'], size, quality['size_max']))
|
log.info2('Found %s via release size: %s MB < %s MB < %s MB', (quality['identifier'], quality['size_min'], size, quality['size_max']))
|
||||||
score += 5
|
score += 5
|
||||||
else:
|
|
||||||
score -= 40
|
|
||||||
|
|
||||||
return score
|
return score
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user