From bff70fac492a7e2f3fe3779b0b9b150f4e315e8f Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Wed, 30 Oct 2024 10:31:43 +0100 Subject: [PATCH] Fix bblocks-config-local filename --- ogc/bblocks/entrypoint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ogc/bblocks/entrypoint.py b/ogc/bblocks/entrypoint.py index e4c8006..f0d0ce6 100644 --- a/ogc/bblocks/entrypoint.py +++ b/ogc/bblocks/entrypoint.py @@ -202,6 +202,8 @@ register_additional_metadata['sparqlEndpoint'] = sparql_conf['query'] bb_local_config_file = Path('bblocks-config-local.yml') + if not bb_local_config_file.is_file(): + bb_local_config_file = Path('bblocks-config-local.yaml') import_local_mappings = None if bb_local_config_file.is_file(): bb_local_config = load_yaml(filename=bb_local_config_file)