Skip to content

Commit 05148f4

Browse files
committed
conf_env_list_parser bugfix case for env vars not always uppercase in linux
1 parent 22cd8fa commit 05148f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/conf_env_list_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def prepare_field_value(self, field_name: str, field: FieldInfo, value: Any, val
1111
prefix = f"{field_name.upper()}__"
1212
kiosks_map = {}
1313
for key, val in os.environ.items():
14+
key = key.upper()
1415
if key.startswith(prefix):
1516
# Example: FUSIONSOLAR_KIOSKS__0__FUSIONSOLAR_KIOSK_API_URL
1617
# Split out the index and field name

0 commit comments

Comments
 (0)