mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Also allow for '~' and '~user'
This commit is contained in:
parent
c8b417bf4a
commit
31c9f0a644
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue