Skip to content
Snippets Groups Projects
Commit 9985cde5 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

FIX: variables were not substituted correctly in lists

parent 465fcc10
Branches
Tags
2 merge requests!53Release 0.1,!25F macros
Pipeline #23191 passed with warnings
...@@ -81,6 +81,7 @@ def substitute_dict(sourced: dict[str, Any], values: dict[str, Any]): ...@@ -81,6 +81,7 @@ def substitute_dict(sourced: dict[str, Any], values: dict[str, Any]):
subst_list.append(substitute(i, values)) subst_list.append(substitute(i, values))
else: else:
subst_list.append(i) subst_list.append(i)
d[k] = subst_list
elif isinstance(v, dict): elif isinstance(v, dict):
d[k] = substitute_dict(v, values) d[k] = substitute_dict(v, values)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment