From 0c5bc061ae15db2d4d14ac53c4b5cacaf8c03784 Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Mon, 22 Mar 2021 21:31:49 +0000 Subject: [PATCH] Allow the exact term too! --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 95063af..b0330fa 100644 --- a/app.py +++ b/app.py @@ -27,7 +27,7 @@ def complete_term(term): query = f""" SELECT term FROM terms - WHERE term > ? + WHERE term >= ? ORDER BY term LIMIT 1 """