aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2020-10-22 21:56:22 +0200
committerNao Pross <np@0hm.ch>2020-10-22 22:05:26 +0200
commitaeaacdb6e6f4ecf2b4263da58262ce0c2b231275 (patch)
tree9f44bb5659d12614c1d84deb31fc9070d980e7fd
parentColor logs (diff)
downloadMuddle-aeaacdb6e6f4ecf2b4263da58262ce0c2b231275.tar.gz
Muddle-aeaacdb6e6f4ecf2b4263da58262ce0c2b231275.zip
Fix config path (expand) error
Diffstat (limited to '')
-rw-r--r--muddle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/muddle.py b/muddle.py
index 81bc683..b4e4311 100644
--- a/muddle.py
+++ b/muddle.py
@@ -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