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 15, 2023
1 parent ca0018c commit 258ab0b
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 @@ -1534,7 +1534,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 258ab0b

Please # to comment.