mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for pathlib
This commit is contained in:
parent
bbf72ad9f3
commit
2b39b88986
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class NewConfigs:
|
||||||
def __init__(self, options: list):
|
def __init__(self, options: list):
|
||||||
__slots__ = 'options'
|
__slots__ = 'options'
|
||||||
self.options: list = 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.slpkg_config: Path = Path(self.etc_path, 'slpkg.toml')
|
||||||
self.repositories_config: Path = Path(self.etc_path, 'repositories.toml')
|
self.repositories_config: Path = Path(self.etc_path, 'repositories.toml')
|
||||||
self.blacklist_config: Path = Path(self.etc_path, 'blacklist.toml')
|
self.blacklist_config: Path = Path(self.etc_path, 'blacklist.toml')
|
||||||
|
|
Loading…
Reference in a new issue