Browse Source

Allow the exact term too!

Daoud Clarke 4 năm trước cách đây
mục cha
commit
0c5bc061ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app.py

+ 1 - 1
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
     """