Browse Source

Don't score identifier quality.guess twice

pull/3944/head
Ruud 11 years ago
parent
commit
bc6d197004
  1. 4
      couchpotato/core/plugins/quality/main.py

4
couchpotato/core/plugins/quality/main.py

@ -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:

Loading…
Cancel
Save