From 65a6e8a0e506b3420962ea2d379baf9eafdae295 Mon Sep 17 00:00:00 2001 From: "Matthias@Dell" Date: Thu, 18 May 2023 11:24:29 +0200 Subject: [PATCH] fixed typo --- regina/data_visualization/ranking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regina/data_visualization/ranking.py b/regina/data_visualization/ranking.py index f648257..2ca305e 100644 --- a/regina/data_visualization/ranking.py +++ b/regina/data_visualization/ranking.py @@ -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()