mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add --config flag to modify config path
+ use getters instead of constants in settings classes + refactor previous references + move get_xdg_config_dir() from settings.py to app.utils.xdg_utils.py
This commit is contained in:
+1
-1
@@ -57,5 +57,5 @@ class ConfigManager:
|
||||
self.write_config(config_data)
|
||||
|
||||
|
||||
settings = ConfigManager(Db.JSON_CONFIG_PATH)
|
||||
settings = ConfigManager(Db.get_json_config_path())
|
||||
a = settings.get_value(ConfigKeys.ROOT_DIRS)
|
||||
|
||||
Reference in New Issue
Block a user