aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fietsboek/config.py b/fietsboek/config.py
index 88d79a3..1da2193 100644
--- a/fietsboek/config.py
+++ b/fietsboek/config.py
@@ -285,7 +285,7 @@ def parse(config: dict) -> Config:
continue
provider_id = match.group(1)
- prefix = f"{value}."
+ prefix = f"{key}."
inner = {k[len(prefix) :]: v for (k, v) in config.items() if k.startswith(prefix)}
inner["layer_id"] = provider_id
inner["name"] = value