1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Don't allow dupes from ref folders to step down from their ref position during reprioritization.

This commit is contained in:
Virgil Dupras
2011-09-23 13:14:57 -04:00
parent 11aa2c147c
commit 9fac97c147
6 changed files with 28 additions and 14 deletions

View File

@@ -11,5 +11,5 @@ from core.scanner import Scanner as ScannerBase
class ScannerME(ScannerBase):
@staticmethod
def _key_func(dupe):
return (not dupe.is_ref, -dupe.bitrate, -dupe.size)
return (-dupe.bitrate, -dupe.size)