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: