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:
parent
c8b417bf4a
commit
31c9f0a644
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user