Skip to content

Commit df094f1

Browse files
committed
chore: Remove useless variable
1 parent c8291f4 commit df094f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

algoliasearch_django/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ def _should_really_index(self, instance):
254254
attr_type = type(self.should_index)
255255
if attr_type is DeferredAttribute:
256256
attr_value = self.should_index.__get__(instance, None)
257-
attr_type = type(attr_value)
258257
elif attr_type is str:
259258
attr_value = getattr(instance, self.should_index)
260259
elif attr_type is property:

0 commit comments

Comments
 (0)