diff options
author | drebs <drebs@leap.se> | 2013-04-29 17:54:01 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-04-29 17:54:01 -0300 |
commit | d45963c020b0522be334f04a09fa2bb4d48ec5e1 (patch) | |
tree | 8a9e04599bca1677753789df0f868da394dd23de /src/leap | |
parent | e15e1ae21c973fa6674bb5526c59a22c98106db9 (diff) |
Use XDG for determining config prefix.
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/soledad/config.py | 5 |
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 = { |