From 2b39b88986e81b5f4e065fbb5c96a0ecf499403c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 26 Apr 2023 17:41:34 +0300 Subject: [PATCH] Updated for pathlib --- slpkg/new_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/new_configs.py b/slpkg/new_configs.py index e89f7a56..b2291f08 100644 --- a/slpkg/new_configs.py +++ b/slpkg/new_configs.py @@ -13,7 +13,7 @@ class NewConfigs: def __init__(self, options: list): __slots__ = 'options' self.options: list = options - self.etc_path: str = '/etc/slpkg' + self.etc_path: Path = Path('/etc/slpkg') self.slpkg_config: Path = Path(self.etc_path, 'slpkg.toml') self.repositories_config: Path = Path(self.etc_path, 'repositories.toml') self.blacklist_config: Path = Path(self.etc_path, 'blacklist.toml')