Skip to content

Commit

Permalink
Merge pull request #195 from dpath-maintainers/flake8-patch
Browse files Browse the repository at this point in the history
Minor flake8 change
  • Loading branch information
moomoohk authored Jun 11, 2024
2 parents e0d412f + e137b9f commit fbdd17a
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 fbdd17a

Please sign in to comment.