dictionary case sensitive fix

This commit is contained in:
2023-01-13 18:00:36 -08:00
parent 71891d8362
commit 1bb03004b6
+1
View File
@@ -162,6 +162,7 @@ def define():
return send_file("html/dictionary.html")
with open(dictionary_json, 'r') as data:
dictionary = json.load(data)
ref = ref.lower()
if not ref in dictionary.keys():
return "{} not found".format(ref)