From 31c9f0a6440de3ed9392ff517e72a94b981d27d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 7 Dec 2013 13:21:45 +0100 Subject: [PATCH] Also allow for '~' and '~user' --- fdroidserver/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 58d024a5..5b3d7c62 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -77,6 +77,7 @@ def read_config(opts, config_file='config.py'): for k, v in config.items(): if type(v) != str: continue + v = os.path.expanduser(v) config[k] = os.path.expandvars(v) # Check that commands and binaries do exist