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)