mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 05:14:16 +02:00
[api] refactoring: 'constants' module renamed to 'paths'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from pathlib import Path
|
||||
|
||||
from bauh.api.constants import CACHE_PATH
|
||||
from bauh.api.paths import CACHE_PATH
|
||||
|
||||
TRAY_CHECK_FILE = '{}/notify_tray'.format(CACHE_PATH) # it is a file that signals to the tray icon it should recheck for updates
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ from pathlib import Path
|
||||
from packaging.version import parse as parse_version
|
||||
|
||||
from bauh import __app_name__, __version__
|
||||
from bauh.api.constants import CACHE_PATH
|
||||
from bauh.api.paths import CACHE_PATH
|
||||
from bauh.api.http import HttpClient
|
||||
from bauh.commons.html import bold, link
|
||||
from bauh.view.util.translation import I18n
|
||||
|
||||
@@ -11,7 +11,7 @@ from colorama import Fore
|
||||
|
||||
from bauh import __app_name__
|
||||
from bauh.api.abstract.controller import SoftwareManager
|
||||
from bauh.api.constants import CACHE_PATH, CONFIG_PATH
|
||||
from bauh.api.paths import CACHE_PATH, CONFIG_PATH
|
||||
from bauh.commons.system import run_cmd
|
||||
from bauh.view.util import resource
|
||||
|
||||
|
||||
Reference in New Issue
Block a user