Skip to content

Commit

Permalink
fix [ModuleNode]: handle nested json dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoRomiti committed Jul 24, 2024
1 parent abecde6 commit e3f45e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modular/ModuleNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
def update_nested_dict(d, u):
for k, v in u.items():
if isinstance(v, dict):
d[k] = update_nested_dict(d.get(k, {}), v)
d[k] = update_nested_dict(as_dumpable_dict(d.get(k, {})), v)
else:
d[k] = v
return d
Expand Down

0 comments on commit e3f45e0

Please sign in to comment.