mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:12:59 +08:00
fix install app bug
This commit is contained in:
parent
0c9743099f
commit
4592eebea0
@ -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 New Issue
Block a user