Skip to content

Commit 2be6fbd

Browse files
committed
Remove last remaining str.format() call
1 parent 747cc68 commit 2be6fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def __init__(self, readonly=False, timeout=10.00,
376376
self._set_omc_command([
377377
"--interactive=zmq",
378378
"--locale=C",
379-
"-z={0}".format(self._random_string)
379+
f"-z={self._random_string}"
380380
])
381381
# start up omc executable, which is waiting for the ZMQ connection
382382
self._start_omc_process(timeout)

0 commit comments

Comments
 (0)