[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,6 +1,5 @@
from pathlib import Path
HOME_PATH = Path.home()
CACHE_PATH = '{}/.cache/bauh'.format(HOME_PATH)
CONFIG_PATH = '{}/.config/bauh'.format(HOME_PATH)
DESKTOP_ENTRIES_DIR = '{}/.local/share/applications'.format(HOME_PATH)
CACHE_PATH = '{}/.cache/bauh'.format(Path.home())
CONFIG_PATH = '{}/.config/bauh'.format(Path.home())
DESKTOP_ENTRIES_DIR = '{}/.local/share/applications'.format(Path.home())