mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 16:44:15 +02:00
[api] refactoring: CONFIG_PATH constant renamed to CONFIG_DIR
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import os
|
||||
|
||||
from bauh.api.paths import CONFIG_PATH, CACHE_PATH
|
||||
from bauh.api.paths import CONFIG_DIR, CACHE_PATH
|
||||
from bauh.commons import resource
|
||||
|
||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
SNAP_CACHE_PATH = f'{CACHE_PATH}/snap'
|
||||
CONFIG_FILE = f'{CONFIG_PATH}/snap.yml'
|
||||
CONFIG_FILE = f'{CONFIG_DIR}/snap.yml'
|
||||
CATEGORIES_FILE_PATH = f'{SNAP_CACHE_PATH}/categories.txt'
|
||||
URL_CATEGORIES_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/snap/categories.txt'
|
||||
SUGGESTIONS_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/snap/suggestions.txt'
|
||||
|
||||
Reference in New Issue
Block a user