From dba1f0d520be457a4df83bbc05ed4e9d1ce1427e Mon Sep 17 00:00:00 2001 From: Young Joon Lee Date: Tue, 25 Jul 2023 11:39:22 +0900 Subject: [PATCH] fix(core): change object property access --- src/hyfi/core/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyfi/core/__init__.py b/src/hyfi/core/__init__.py index bc518af4..2789ffb2 100644 --- a/src/hyfi/core/__init__.py +++ b/src/hyfi/core/__init__.py @@ -113,7 +113,7 @@ def get_plugins(self, plugins: List[str]) -> List[str]: @property def package_name(self) -> str: """Returns the name of the package.""" - self.__package_name__ = os.path.basename(self.__package_path__) + self.__package_name__ = os.path.basename(self.package_path) return self.__package_name__ @property