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

Make non-numeric delta comparison case insensitive

Fixes #239.
This commit is contained in:
Virgil Dupras
2013-11-23 15:31:20 -05:00
parent 0e542577b0
commit c34c9562d3
4 changed files with 32 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ class DupeRow(Row):
dupe_info = self.data
ref_info = self._group.ref.get_display_info(group=self._group, delta=False)
for key, value in dupe_info.items():
if ref_info[key] != value:
if (key not in self._delta_columns) and (ref_info[key].lower() != value.lower()):
self._delta_columns.add(key)
return column_name in self._delta_columns