mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +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():
|
for k, v in config.items():
|
||||||
if type(v) != str:
|
if type(v) != str:
|
||||||
continue
|
continue
|
||||||
|
v = os.path.expanduser(v)
|
||||||
config[k] = os.path.expandvars(v)
|
config[k] = os.path.expandvars(v)
|
||||||
|
|
||||||
# Check that commands and binaries do exist
|
# Check that commands and binaries do exist
|
||||||
|
Loading…
Reference in New Issue
Block a user