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

@@ -80,7 +80,7 @@ class Scanner:
@staticmethod
def _key_func(dupe):
return (not dupe.is_ref, -dupe.size)
return -dupe.size
@staticmethod
def _tie_breaker(ref, dupe):