Skip to content

Commit 4ee28b8

Browse files
committed
Merge branch 'master' into pr/194
2 parents a673d24 + fbdd17a commit 4ee28b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpath/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def merger(dst, src, _segments=()):
316316
target = segments.get(dst, current_path)
317317

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

0 commit comments

Comments
 (0)