[api] refactoring: CONFIG_PATH constant renamed to CONFIG_DIR

This commit is contained in:
Vinicius Moreira
2021-11-24 12:11:41 -03:00
parent 797bea4b6d
commit 47348c4b6c
8 changed files with 18 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ from colorama import Fore
from bauh import __app_name__
from bauh.api.abstract.controller import SoftwareManager
from bauh.api.paths import CONFIG_PATH, CACHE_PATH
from bauh.api.paths import CONFIG_DIR, CACHE_PATH
from bauh.commons.system import run_cmd
from bauh.view.util import resource
@@ -61,7 +61,7 @@ def clean_app_files(managers: List[SoftwareManager], logs: bool = True):
if logs:
print('[bauh] Cleaning configuration and cache files')
for path in (CACHE_PATH, CONFIG_PATH):
for path in (CACHE_PATH, CONFIG_DIR):
if logs:
print('[bauh] Deleting directory {}'.format(path))