Skip to content

Commit cbccdc9

Browse files
committed
Replace print() with logger.warning
1 parent f838239 commit cbccdc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def __del__(self):
393393
self._omc_process.wait(timeout=2.0)
394394
except Exception:
395395
if self._omc_process:
396-
print("OMC did not exit after being sent the quit() command; killing the process with pid={self._omc_process.pid}")
396+
logger.warning("OMC did not exit after being sent the quit() command; killing the process with pid=%s", self._omc_process.pid)
397397
self._omc_process.kill()
398398
self._omc_process.wait()
399399

0 commit comments

Comments
 (0)