Skip to content

Commit

Permalink
Merge branch 'master' into pr/194
Browse files Browse the repository at this point in the history
  • Loading branch information
moomoohk committed Jun 11, 2024
2 parents a673d24 + fbdd17a commit 4ee28b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpath/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def merger(dst, src, _segments=()):
target = segments.get(dst, current_path)

# If the types don't match, replace it.
if type(found) != type(target) and not are_both_mutable(found, target):
if type(found) is not type(target) and not are_both_mutable(found, target):
segments.set(dst, current_path, found)
continue

Expand Down

0 comments on commit 4ee28b8

Please sign in to comment.