1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-16 19:30:09 +02:00

Also allow for '~' and '~user'

This commit is contained in:
Daniel Martí 2013-12-07 13:21:45 +01:00
parent c8b417bf4a
commit 31c9f0a644

View File

@ -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