Skip to content

Commit 266052a

Browse files
committed
[ModelicaSystem] fix flake8 error
./OMPython/ModelicaSystem.py:1236:72: E999 SyntaxError: f-string: unmatched '['
1 parent d6fd226 commit 266052a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ def linearize(self, lintime: Optional[float] = None, simflags: Optional[str] = N
12331233
self.csvFile = self.createCSVData()
12341234
om_cmd.arg_set(key="csvInput", val=self.csvFile.as_posix())
12351235

1236-
om_cmd.arg_set(key="l", val=f"{lintime or self.linearOptions["stopTime"]}")
1236+
om_cmd.arg_set(key="l", val=str({lintime or self.linearOptions["stopTime"]}))
12371237

12381238
# allow runtime simulation flags from user input
12391239
if simflags is not None:

0 commit comments

Comments
 (0)