Commit 506e76fa authored by Anthony Larcher's avatar Anthony Larcher
Browse files

debug

parent ecccbb1b
...@@ -804,18 +804,13 @@ def fill_dict(target_dict, source_dict, prefix = ""): ...@@ -804,18 +804,13 @@ def fill_dict(target_dict, source_dict, prefix = ""):
if isinstance(v1, dict): if isinstance(v1, dict):
if k1 in source_dict and isinstance(source_dict[k1], dict): if k1 in source_dict and isinstance(source_dict[k1], dict):
#print(f"\n{prefix}{k1}")
fill_dict(v1, source_dict[k1], prefix + "\t") fill_dict(v1, source_dict[k1], prefix + "\t")
#print("\n")
else: else:
#print(f"{prefix}{k1} set to default value: {target_dict[k1]}")
pass pass
else: else:
if k1 in source_dict and source_dict[k1] is not None: if k1 in source_dict and source_dict[k1] is not None:
target_dict[k1] = source_dict[k1] target_dict[k1] = source_dict[k1]
#print(f"{prefix}{k1} set to: {source_dict[k1]}")
else: else:
#print(f"{prefix}{k1} set to default value: {target_dict[k1]}")
pass pass
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment