Skip to content

Commit

Permalink
fix envvar parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandemeusy committed Jun 7, 2024
1 parent f43f0db commit 17c9e3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ct-app/core/components/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ def _parse_env_vars(self, prefix, subparams):

def _format_key(self, key, prefix):
k = key.replace(prefix, "").lower()
return k.replace("_", " ").title().replace(" ", "").lower()
k = k.replace("_", " ").title().replace(" ", "")
k = k[0].lower() + k[1:]
return k

def _convert(self, value: str):
try:
Expand Down

0 comments on commit 17c9e3d

Please sign in to comment.