[refactoring] removing the HOME_PATH constant in favor of Path.home()

This commit is contained in:
Vinicius Moreira
2020-01-02 17:13:57 -03:00
parent 9cd89292be
commit 74ddfc03ef
4 changed files with 10 additions and 11 deletions

View File

@@ -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'