diff options
author | Nao Pross <np@0hm.ch> | 2020-10-22 21:56:22 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2020-10-22 22:05:26 +0200 |
commit | aeaacdb6e6f4ecf2b4263da58262ce0c2b231275 (patch) | |
tree | 9f44bb5659d12614c1d84deb31fc9070d980e7fd | |
parent | Color logs (diff) | |
download | Muddle-aeaacdb6e6f4ecf2b4263da58262ce0c2b231275.tar.gz Muddle-aeaacdb6e6f4ecf2b4263da58262ce0c2b231275.zip |
Fix config path (expand) error
Diffstat (limited to '')
-rw-r--r-- | muddle.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -63,13 +63,13 @@ if platform.system() == "Linux": default_config_dir = pathlib.PurePath(os.environ["XDG_CONFIG_HOME"]).joinpath("muddle/") elif pathlib.Path("~/.config").expanduser().exists(): - default_config_dir = pathlib.PurePath("~/.config/muddle/").expanduser() + default_config_dir = pathlib.Path("~/.config/muddle/").expanduser() if os.environ.get("XDG_CACHE_HOME"): - default_log_dir = pathlib.PurePath(os.environ["XDG_CACHE_HOME"]).joinpath("muddle/") + default_log_dir = pathlib.Path(os.environ["XDG_CACHE_HOME"]).joinpath("muddle/") elif pathlib.Path("~/.cache").expanduser().exists(): - default_log_dir = pathlib.PurePath("~/.cache/muddle/").expanduser() + default_log_dir = pathlib.Path("~/.cache/muddle/").expanduser() # TODO: implement for other platforms |