fixed typo
This commit is contained in:
parent
058574fc49
commit
65a6e8a0e5
@ -183,7 +183,7 @@ def _get_platform_or_browser_ranking(db: Database, timestamps: tuple[int, int],
|
|||||||
AND r.time BETWEEN {timestamps[0]} AND {timestamps[1]}
|
AND r.time BETWEEN {timestamps[0]} AND {timestamps[1]}
|
||||||
)
|
)
|
||||||
{'AND v.is_human = 1' if only_human else ''}""")
|
{'AND v.is_human = 1' if only_human else ''}""")
|
||||||
count = db.fetchoone()[0]
|
count = db.fetchone()[0]
|
||||||
if count > 0:
|
if count > 0:
|
||||||
ranking.append((count, name))
|
ranking.append((count, name))
|
||||||
ranking.sort()
|
ranking.sort()
|
||||||
|
Loading…
Reference in New Issue
Block a user