Skip to content

Commit 61bda50

Browse files
committed
??? fix 2
1 parent e64508d commit 61bda50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def prepare_str(str_in: str) -> dict[str, str]:
200200
for key, val in input_arg.items():
201201
if not isinstance(key, str) or len(key) == 0:
202202
raise ModelicaSystemError(f"Invalid key for set*() functions: {repr(key)}")
203-
input_arg_str[key] = str(val)
203+
input_arg_str[key] = str(val).replace(' ', '')
204204
input_data = input_data | input_arg_str
205205
else:
206206
raise ModelicaSystemError(f"Invalid input data type for set*() function: {type(input_arg)}!")

0 commit comments

Comments
 (0)