Don't score identifier quality.guess twice
This commit is contained in:
1 parent
8d55b0c92a
commit
bc6d197004
1 file changed
-4
@@ -293,10 +293,6 @@ class QualityPlugin(Plugin):
|
|||||||
log.debug('Found %s via %s %s in %s', (quality['identifier'], tag_type, quality.get(tag_type), cur_file))
|
log.debug('Found %s via %s %s in %s', (quality['identifier'], tag_type, quality.get(tag_type), cur_file))
|
||||||
score += points.get(tag_type)
|
score += points.get(tag_type)
|
||||||
|
|
||||||
if list(set(qualities) & set(words)):
|
|
||||||
log.debug('Found %s via %s %s in %s', (quality['identifier'], tag_type, quality.get(tag_type), cur_file))
|
|
||||||
score += points.get(tag_type)
|
|
||||||
|
|
||||||
# Check extention
|
# Check extention
|
||||||
for ext in quality.get('ext', []):
|
for ext in quality.get('ext', []):
|
||||||
if ext == extension:
|
if ext == extension:
|
||||||
|
|||||||
Reference in new issue
Block a user