From 25244c60642e75db87901a0cbc399921d5cdeb0c Mon Sep 17 00:00:00 2001 From: Lasith Manujitha <64279853+z1nc0r3@users.noreply.github.com> Date: Mon, 12 Feb 2024 10:17:29 +0530 Subject: [PATCH] Update comments --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 18b3a40..84465ba 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,7 @@ def fuzzy_search(query): with sqlite3.connect(Unicoder.DB_PATH) as conn: conn.row_factory = sqlite3.Row c = conn.cursor() - # running a fuzzy search with a limit of 40 results to avoid performance issues + # running a fuzzy search with a limit of 30 results to avoid performance issues c.execute( "SELECT * FROM characters WHERE name LIKE ? LIMIT ?", ("%" + query + "%", 30),