From 36855c3ab529e5413057d68bbfb88481dbb1c22d Mon Sep 17 00:00:00 2001 From: jan-janssen Date: Fri, 29 Aug 2025 13:36:27 +0200 Subject: [PATCH] Communication: Simplify if statement for interface bootup --- executorlib/standalone/interactive/communication.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/executorlib/standalone/interactive/communication.py b/executorlib/standalone/interactive/communication.py index 9cc0cc68..4a198882 100644 --- a/executorlib/standalone/interactive/communication.py +++ b/executorlib/standalone/interactive/communication.py @@ -159,9 +159,7 @@ def interface_bootup( Returns: executorlib.shared.communication.SocketInterface: socket interface for zmq communication """ - if hostname_localhost is None and sys.platform == "darwin": - hostname_localhost = True - elif hostname_localhost is None: + if hostname_localhost is None and sys.platform != "darwin": hostname_localhost = False if not hostname_localhost: command_lst += [