From 86f1f96034785030eef1028142ded23d300dc91b Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Mon, 8 Apr 2024 11:50:01 +0200 Subject: [PATCH] fix: default config directory --- src/music_kraken/utils/path_manager/music_directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music_kraken/utils/path_manager/music_directory.py b/src/music_kraken/utils/path_manager/music_directory.py index 0a0ea72..8a776e6 100644 --- a/src/music_kraken/utils/path_manager/music_directory.py +++ b/src/music_kraken/utils/path_manager/music_directory.py @@ -22,7 +22,7 @@ def get_xdg_music_directory() -> Path: https://web.archive.org/web/20230322012953/https://freedesktop.org/wiki/Software/xdg-user-dirs/ """ - xdg_user_dirs_file = os.environ.get("XDG_CONFIG_HOME") or Path(Path.home(), ".config", "user-dirs.dirs") + xdg_user_dirs_file = Path(os.environ.get("XDG_CONFIG_HOME") or Path(Path.home(), ".config"), "user-dirs.dirs") xdg_user_dirs_default_file = Path("/etc/xdg/user-dirs.defaults") def get_music_dir_from_xdg_file(xdg_file_path: os.PathLike) -> Optional[Path]: