0.0.4s
This commit is contained in:
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user