mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 04:44:15 +02:00
[refactoring] removing the HOME_PATH constant in favor of Path.home()
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user