Skip to content

Commit 4aaf761

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

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

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

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

0 commit comments

Comments
 (0)