Browse Source

Allow the exact term too!

Daoud Clarke 4 years ago
parent
commit
0c5bc061ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -27,7 +27,7 @@ def complete_term(term):
     query = f"""
     query = f"""
         SELECT term
         SELECT term
         FROM terms
         FROM terms
-        WHERE term > ?
+        WHERE term >= ?
         ORDER BY term
         ORDER BY term
         LIMIT 1
         LIMIT 1
     """
     """