Skip to content

Commit

Permalink
Minor flake8 change
Browse files Browse the repository at this point in the history
  • Loading branch information
moomoohk authored Jun 11, 2024
1 parent e0d412f commit e137b9f
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 e137b9f

Please sign in to comment.