lowercase all payalod keys
This commit is contained in:
		
							parent
							
								
									b25fc3021c
								
							
						
					
					
						commit
						b091048df1
					
				
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							| @ -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 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user