mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[api.paths] refactoring: CACHE_PATH renamed to CACHE_DIR
This commit is contained in:
@@ -2,7 +2,7 @@ from abc import ABC, abstractmethod
|
||||
from enum import Enum
|
||||
from typing import List, Optional
|
||||
|
||||
from bauh.api.paths import CACHE_PATH
|
||||
from bauh.api.paths import CACHE_DIR
|
||||
|
||||
|
||||
class CustomSoftwareAction:
|
||||
@@ -146,7 +146,7 @@ class SoftwarePackage(ABC):
|
||||
"""
|
||||
:return: base cache path for the specific app type
|
||||
"""
|
||||
return f'{CACHE_PATH}/{self.get_type()}'
|
||||
return f'{CACHE_DIR}/{self.get_type()}'
|
||||
|
||||
def can_be_updated(self) -> bool:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user