This commit is contained in:
gac-x12sa
2025-06-11 15:14:44 +02:00
committed by appel_c
parent 2894b1e5c2
commit 8eac0a2c38

View File

@@ -24,7 +24,7 @@ def get_config() -> ServiceConfig:
"""
Create and return the service configuration.
"""
deployment_path = os.path.dirname(os.path.dirname(csaxs_bec.__file__))
deployment_path = os.path.dirname(os.path.dirname(os.path.dirname(csaxs_bec.__file__)))
files = os.listdir(deployment_path)
if "bec_config.yaml" in files:
return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml"))