mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Fix exception when deleting while in delta view
This commit is contained in:
parent
0b46ca2222
commit
22033211d6
@ -41,6 +41,8 @@ class DupeRow(Row):
|
|||||||
# table.DELTA_COLUMNS are always "delta"
|
# table.DELTA_COLUMNS are always "delta"
|
||||||
self._delta_columns = self.table.DELTA_COLUMNS.copy()
|
self._delta_columns = self.table.DELTA_COLUMNS.copy()
|
||||||
dupe_info = self.data
|
dupe_info = self.data
|
||||||
|
if self._group.ref is None:
|
||||||
|
return False
|
||||||
ref_info = self._group.ref.get_display_info(group=self._group, delta=False)
|
ref_info = self._group.ref.get_display_info(group=self._group, delta=False)
|
||||||
for key, value in dupe_info.items():
|
for key, value in dupe_info.items():
|
||||||
if (key not in self._delta_columns) and (
|
if (key not in self._delta_columns) and (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user