mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +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
|
|
@ -35,6 +35,9 @@ class EnvHelper:
|
|||
|
||||
return value
|
||||
|
||||
if key not in values:
|
||||
return None
|
||||
|
||||
return resolve_value(values.get(key))
|
||||
except Exception as e:
|
||||
logger.error(f"Error getting {key} from {self.dotenv_path}: {e}")
|
||||
|
|
Loading…
Reference in a new issue