fix: made sure to get basename rather than file stem
This commit is contained in:
@@ -21,7 +21,7 @@ class Config:
|
|||||||
|
|
||||||
parent_dir = self.__controller.get_scope(scope, index)
|
parent_dir = self.__controller.get_scope(scope, index)
|
||||||
filepath = Path(parent_dir) / filepath
|
filepath = Path(parent_dir) / filepath
|
||||||
filename: str = filepath.stem
|
filename: str = filepath.name
|
||||||
|
|
||||||
self.parse_method = "YML"
|
self.parse_method = "YML"
|
||||||
if "." in filename:
|
if "." in filename:
|
||||||
|
|||||||
Reference in New Issue
Block a user