Skip to content

Commit f52d5a0

Browse files
committed
Merge branch 'ModelicaSystem_improve_set_functions' into v4.1.0-syntron
2 parents 2393e48 + 0a1b8a1 commit f52d5a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,8 @@ def prepare_str(str_in: str) -> dict[str, str]:
12841284
if not isinstance(item, str):
12851285
raise ModelicaSystemError(f"Invalid input data type for set*() function: {type(item)}!")
12861286
input_data = input_data | prepare_str(item)
1287+
elif isinstance(input_arg, dict):
1288+
input_data = input_data | input_arg
12871289
else:
12881290
raise ModelicaSystemError(f"Invalid input data type for set*() function: {type(input_arg)}!")
12891291

0 commit comments

Comments
 (0)