summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/soledad/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/soledad/config.py b/src/leap/soledad/config.py
index e4b34b71..733ad9e7 100644
--- a/src/leap/soledad/config.py
+++ b/src/leap/soledad/config.py
@@ -24,13 +24,16 @@ import os
import logging
+from xdg import BaseDirectory
from leap.common.config.baseconfig import BaseConfig
logger = logging.getLogger(name=__name__)
-PREFIX = os.environ['HOME'] + '/.config/leap/soledad'
+PREFIX = os.path.join(
+ BaseDirectory.xdg_config_home,
+ 'leap', 'soledad')
soledad_config_spec = {