mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[refactoring] removing the HOME_PATH constant in favor of Path.home()
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import os
|
||||
|
||||
from bauh.api.constants import HOME_PATH
|
||||
from pathlib import Path
|
||||
|
||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
LOCAL_PATH = '{}/.local/share/bauh/appimage'.format(HOME_PATH)
|
||||
LOCAL_PATH = '{}/.local/share/bauh/appimage'.format(Path.home())
|
||||
INSTALLATION_PATH = LOCAL_PATH + '/installed/'
|
||||
SUGGESTIONS_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/appimage/suggestions.txt'
|
||||
Reference in New Issue
Block a user