From 1bb03004b661c3ea709e65d303a9f62a6523f85b Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 13 Jan 2023 18:00:36 -0800 Subject: [PATCH] dictionary case sensitive fix --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index f70ee5e..8d39a78 100644 --- a/app.py +++ b/app.py @@ -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)