Skip to content

Commit 72fbe7b

Browse files
committed
[OMCSessionZMQ] fix f-string
1 parent dd621f9 commit 72fbe7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def _connect_to_omc(self, timeout):
504504
self._omc_log_file.close()
505505
logger.error("OMC Server did not start. Please start it! Log-file says:\n%s" % open(name).read())
506506
raise OMCSessionException(f"OMC Server did not start (timeout={timeout}). "
507-
"Could not open file {self._port_file}")
507+
f"Could not open file {self._port_file}")
508508
time.sleep(timeout / 80.0)
509509

510510
self._port = self._port.replace("0.0.0.0", self._serverIPAddress)

0 commit comments

Comments
 (0)