wip
This commit is contained in:
@@ -24,7 +24,7 @@ def get_config() -> ServiceConfig:
|
|||||||
"""
|
"""
|
||||||
Create and return the service configuration.
|
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)
|
files = os.listdir(deployment_path)
|
||||||
if "bec_config.yaml" in files:
|
if "bec_config.yaml" in files:
|
||||||
return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml"))
|
return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml"))
|
||||||
|
|||||||
Reference in New Issue
Block a user