From a9b65a86dacdd210a390cea4441cb644fbf8725d Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Tue, 23 Aug 2016 18:16:06 -0300 Subject: 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 --- service/pixelated/config/leap_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/pixelated/config') 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() -- cgit v1.2.3