From b6a0bf9a7cdfb4c005effb55602764793fb8859d Mon Sep 17 00:00:00 2001 From: June Tate-Gans Date: Sun, 23 May 2021 13:14:03 -0500 Subject: [PATCH] g13gui: Swap to using appdirs --- g13gui/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/g13gui/common.py b/g13gui/common.py index 5655a87..b31aeeb 100644 --- a/g13gui/common.py +++ b/g13gui/common.py @@ -1,7 +1,8 @@ #!/usr/bin/python -from xdg import xdg_config_home +from pathlib import Path +from appdirs import user_config_dir PROGNAME = 'g13gui' VERSION = '0.1.0' -PROFILES_CONFIG_PATH = xdg_config_home() / 'g13' / 'g13gui' / 'profiles.json' +PROFILES_CONFIG_PATH = Path(user_config_dir()) / 'g13' / 'g13gui' / 'profiles.json'