Skip to content

Commit

Permalink
fix if/elif branching otherwise bools get diffed twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hamill committed Aug 16, 2023
1 parent 998a26c commit c86292b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepdiff/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ def _diff(self, level, parents_ids=frozenset(), _original_type=None, local_tree=
if isinstance(level.t1, booleans):
self._diff_booleans(level, local_tree=local_tree)

if isinstance(level.t1, strings):
elif isinstance(level.t1, strings):
self._diff_str(level, local_tree=local_tree)

elif isinstance(level.t1, datetimes):
Expand Down

0 comments on commit c86292b

Please sign in to comment.