mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
[#138] Completed re-prioritization workflow, now all that is needed is to add more criteria, handle corner case and build the GUI for it.
This commit is contained in:
@@ -29,6 +29,9 @@ class Criterion:
|
||||
self.category = category
|
||||
self.value = value
|
||||
|
||||
def test_dupe(self, dupe):
|
||||
return self.category._extract_value(dupe) == self.value
|
||||
|
||||
@property
|
||||
def display(self):
|
||||
return "{} ({})".format(self.category, self.value)
|
||||
|
||||
Reference in New Issue
Block a user