Skip to content

Commit

Permalink
Derp, didn't actually fix that.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Aug 12, 2022
1 parent 11f285e commit 9ef0c56
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions thetagang/dict_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ def dict_merge(dct, merge_dct):
:return: None
"""
for k in merge_dct.keys():
if (
k in dct
and isinstance(dct[k], dict)
and isinstance(merge_dct[k], collections.Mapping)
):
if k in dct and isinstance(dct[k], dict) and isinstance(merge_dct[k], Mapping):
dict_merge(dct[k], merge_dct[k])
else:
dct[k] = merge_dct[k]
Expand Down

0 comments on commit 9ef0c56

Please sign in to comment.