From 83af21eec860ff79ce3ba3243ac54ee8529fde1b Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 14 Jan 2026 18:25:47 -0500 Subject: [PATCH] fix: made sure to get basename rather than file stem --- confctx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confctx.py b/confctx.py index 196f1ef..7e9a867 100644 --- a/confctx.py +++ b/confctx.py @@ -21,7 +21,7 @@ class Config: parent_dir = self.__controller.get_scope(scope, index) filepath = Path(parent_dir) / filepath - filename: str = filepath.stem + filename: str = filepath.name self.parse_method = "YML" if "." in filename: