Skip to content

Commit

Permalink
merge dicts to avoid possible key error;
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjan-stha committed Oct 30, 2024
1 parent 08fdcb8 commit 91f74f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/tasks/get_data_old.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ def get_tags_data_for_exportable(
master[key_title] = [a for e in c["excel")["values") for a in e if a]
"""
if "common" in ex:
ex["excel"].update(ex["common"])
output = [c for a in ex["excel"]["values"] for c in a if c]

elif tip == "matrix1dWidget":
Expand Down

0 comments on commit 91f74f9

Please sign in to comment.