Skip to content

Commit 03aa0f5

Browse files
committed
[ModelicaSystem] fix flake8 error
./OMPython/ModelicaSystem.py:1236:72: E999 SyntaxError: f-string: unmatched '['
1 parent 4f29421 commit 03aa0f5

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
@@ -1238,7 +1238,7 @@ def linearize(self, lintime: Optional[float] = None, simflags: Optional[str] = N
12381238
self.csvFile = self.createCSVData()
12391239
om_cmd.arg_set(key="csvInput", val=self.csvFile.as_posix())
12401240

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

12431243
# allow runtime simulation flags from user input
12441244
if simflags is not None:

0 commit comments

Comments
 (0)