From fb495707482c10fc926d11416f27ee17ff9d050b Mon Sep 17 00:00:00 2001 From: Gordon Crone Date: Fri, 5 Jun 2026 14:58:03 +0100 Subject: [PATCH] Don't consider it an error if CONNECTION_PORT Variable is not set --- python/daqconf/set_connectivity_service_port.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python/daqconf/set_connectivity_service_port.py b/python/daqconf/set_connectivity_service_port.py index 578d5442..0d5282eb 100755 --- a/python/daqconf/set_connectivity_service_port.py +++ b/python/daqconf/set_connectivity_service_port.py @@ -56,12 +56,6 @@ def set_connectivity_service_port(oksfile, session_name, connsvc_port=0): if found_var: break - if not found_var: - print("Error: Could not find a 'CONNECTION_PORT' variable in the session's environment.") - return 0 - else: - print("Error: Session has no 'environment' configured. Cannot update CONNECTION_PORT variable.") - return 0 db.commit() print(f"Successfully configured connectivity service port for session '{session_name}'.")