We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd621f9 commit 72fbe7bCopy full SHA for 72fbe7b
1 file changed
OMPython/OMCSession.py
@@ -504,7 +504,7 @@ def _connect_to_omc(self, timeout):
504
self._omc_log_file.close()
505
logger.error("OMC Server did not start. Please start it! Log-file says:\n%s" % open(name).read())
506
raise OMCSessionException(f"OMC Server did not start (timeout={timeout}). "
507
- "Could not open file {self._port_file}")
+ f"Could not open file {self._port_file}")
508
time.sleep(timeout / 80.0)
509
510
self._port = self._port.replace("0.0.0.0", self._serverIPAddress)
0 commit comments