mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
fix install app bug
This commit is contained in:
parent
0c9743099f
commit
4592eebea0
2 changed files with 4 additions and 1 deletions
|
@ -28,4 +28,4 @@ port = 9000
|
|||
keys =
|
||||
|
||||
[favorite_apps]
|
||||
keys =
|
||||
keys = wordpress
|
|
@ -34,6 +34,9 @@ class EnvHelper:
|
|||
value = re.sub(pattern, lambda match: resolve_value(values.get(match.group(1), '')), value)
|
||||
|
||||
return value
|
||||
|
||||
if key not in values:
|
||||
return None
|
||||
|
||||
return resolve_value(values.get(key))
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue