lowercase all payalod keys

This commit is contained in:
yair 2023-05-06 21:18:30 +03:00
parent b25fc3021c
commit b091048df1

View File

@ -76,7 +76,7 @@ def parse_input(input_string):
# Iterate over the found keys # Iterate over the found keys
for match in matches: for match in matches:
key = match.group(1) key = match.group(1).lower() # Convert the key to lowercase
value_start_index = match.end() value_start_index = match.end()
# If there's text between the last key and the current key, add it to the prompt # If there's text between the last key and the current key, add it to the prompt