mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Forgot a litteral --> constant conversion in the last commit.
This commit is contained in:
parent
da41d07dae
commit
e150b26cab
@ -62,7 +62,7 @@ def GetDupeSortKey(dupe, get_group, key, delta):
|
|||||||
if key == DUPECOUNT_COL:
|
if key == DUPECOUNT_COL:
|
||||||
return 0
|
return 0
|
||||||
r = cmp_value(getattr(dupe, COLUMNS[key].attr, ''))
|
r = cmp_value(getattr(dupe, COLUMNS[key].attr, ''))
|
||||||
if delta and (key in {2, 4}):
|
if delta and (key in DELTA_COLUMNS):
|
||||||
r -= cmp_value(getattr(get_group().ref, COLUMNS[key].attr, ''))
|
r -= cmp_value(getattr(get_group().ref, COLUMNS[key].attr, ''))
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user