diff --git a/system_module/db.py b/system_module/db.py index c0e9042..f656a49 100644 --- a/system_module/db.py +++ b/system_module/db.py @@ -82,7 +82,7 @@ class DB: "count": count } for tag, count in counter.items() - if tag.lower().startswith(prefix) + if tag.lower().startswith(tag_slise) ] results.sort(key=lambda x: x["count"], reverse=True) top_10 = results[:10]