From b091048df1eee8d518e694da9ba23d82e83acb55 Mon Sep 17 00:00:00 2001 From: yair Date: Sat, 6 May 2023 21:18:30 +0300 Subject: [PATCH] lowercase all payalod keys --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index db1f950..f4d7fcc 100644 --- a/main.py +++ b/main.py @@ -76,7 +76,7 @@ def parse_input(input_string): # Iterate over the found keys for match in matches: - key = match.group(1) + key = match.group(1).lower() # Convert the key to lowercase value_start_index = match.end() # If there's text between the last key and the current key, add it to the prompt