fixed typo

This commit is contained in:
Matthias@Dell 2023-05-18 11:24:29 +02:00
parent 058574fc49
commit 65a6e8a0e5

View File

@ -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 v.is_human = 1' if only_human else ''}""")
count = db.fetchoone()[0]
count = db.fetchone()[0]
if count > 0:
ranking.append((count, name))
ranking.sort()