💅 style(config, gui): replace hardcoded paths with user-specific paths in config and gui modules
This commit is contained in:
6 files changed
+27
-37
No files matched your search
+1
-3
@@ -40,9 +40,7 @@ DOCK_THEME = "Pills"
|
||||
|
||||
def load_config():
|
||||
"""Load the configuration from config.json"""
|
||||
config_path = os.path.expanduser(
|
||||
f"~/.config/{APP_NAME_CAP}/config/json/config.json"
|
||||
)
|
||||
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/json/config.json")
|
||||
config = {}
|
||||
|
||||
if os.path.exists(config_path):
|
||||
|
||||
Reference in new issue
Block a user