mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed NameError
This commit is contained in:
parent
815122b12a
commit
2b42d6d99b
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ class Configs:
|
|||
tmp_path: str = '/tmp'
|
||||
tmp_slpkg: str = Path(tmp_path, prog_name)
|
||||
build_path: str = Path('tmp', prog_name, 'build')
|
||||
download_only: str = Path(tmp_slpkg, '')
|
||||
download_only_path: str = Path(tmp_slpkg, '')
|
||||
lib_path: str = Path('/var/lib/', prog_name)
|
||||
etc_path: str = Path('/etc/', prog_name)
|
||||
db_path: str = Path(lib_path, 'database')
|
||||
|
@ -98,7 +98,7 @@ class Configs:
|
|||
# All necessary paths
|
||||
tmp_slpkg: str = config['TMP_SLPKG']
|
||||
build_path: str = config['BUILD_PATH']
|
||||
download_only: str = config['DOWNLOAD_ONLY']
|
||||
download_only_path: str = config['DOWNLOAD_ONLY_PATH']
|
||||
sbo_repo_path: str = config['SBO_REPO_PATH']
|
||||
|
||||
# Database name
|
||||
|
@ -148,7 +148,7 @@ class Configs:
|
|||
# Creating the paths if not exists
|
||||
paths = [tmp_slpkg,
|
||||
build_path,
|
||||
download_only,
|
||||
download_only_path,
|
||||
sbo_repo_path,
|
||||
lib_path,
|
||||
etc_path,
|
||||
|
|
Loading…
Reference in a new issue