From b79874c1540a5a7e0900410ae189fc3d4f56046f Mon Sep 17 00:00:00 2001 From: Tim Grelka Date: Sun, 15 Feb 2026 17:06:28 +0100 Subject: [PATCH] refactor: rename config options to match CLI --- src/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index dc86552..97d1dbb 100644 --- a/src/config.py +++ b/src/config.py @@ -13,7 +13,7 @@ class Config: else: self.config = {} - self.p_data = Path(self.get_config_value("content") if content_path is None else content_path) + self.p_data = Path(self.get_config_value("input", "content") if content_path is None else content_path) self.p_data_toc = self.p_data / "toc" @@ -31,7 +31,7 @@ class Config: self.p_data_fragenkatalog = self.p_data_questions / "fragenkatalog3b.json" self.p_data_metadata = self.p_data_questions / "metadata3b.json" - self.p_build = Path(self.get_config_value("build_path", "./build") if build_path is None else build_path) + self.p_build = Path(self.get_config_value("output", "./build") if build_path is None else build_path) self.p_build_photos = self.p_build / "photos" self.p_build_pictures = self.p_build / "pictures" self.p_build_assets = self.p_build / "assets"