summaryrefslogtreecommitdiff
path: root/service/pixelated/config/leap_config.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2016-08-23 18:16:06 -0300
committerThais Siqueira <thais.siqueira@gmail.com>2016-08-23 18:16:06 -0300
commita9b65a86dacdd210a390cea4441cb644fbf8725d (patch)
tree3b6ca9021020c4ffe52088f2117c2071400654a8 /service/pixelated/config/leap_config.py
parent9b6c6f7e84790a3da8470b94cc8c029d9ad67777 (diff)
Fixed leap home default home to use expand_path
In some cases, the default home was not expanding the user part of the path and was causing errors, now we make sure the path is expanded when setting the default value
Diffstat (limited to 'service/pixelated/config/leap_config.py')
-rw-r--r--service/pixelated/config/leap_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/config/leap_config.py b/service/pixelated/config/leap_config.py
index 324edc5e..7319d82b 100644
--- a/service/pixelated/config/leap_config.py
+++ b/service/pixelated/config/leap_config.py
@@ -30,7 +30,7 @@ def discover_gpg_binary():
SYSTEM_CA_BUNDLE = True
-leap_home = '~/.leap/'
+leap_home = os.path.expanduser('~/.leap/')
gpg_binary = discover_gpg_binary()