mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
update: do not crash on {env: } in paths in config.yml
This commit is contained in:
parent
4d66f30faf
commit
ecdf47d893
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ def fill_config_defaults(thisconfig):
|
|||
|
||||
# Expand paths (~users and $vars)
|
||||
def expand_path(path):
|
||||
if path is None:
|
||||
if not path or not isinstance(path, str):
|
||||
return None
|
||||
orig = path
|
||||
path = os.path.expanduser(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue