fix install app bug

This commit is contained in:
zhaojing1987 2024-04-30 12:59:55 +08:00
parent 0c9743099f
commit 4592eebea0
2 changed files with 4 additions and 1 deletions

View file

@ -28,4 +28,4 @@ port = 9000
keys =
[favorite_apps]
keys =
keys = wordpress

View file

@ -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: