From 12fe772f45dd85b14e78f46f3919d6e63b0d10e0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 12 Nov 2020 23:27:12 -0300 Subject: [PATCH] Fixed DB --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index 934d0c3..dcce205 100644 --- a/database.py +++ b/database.py @@ -63,7 +63,7 @@ def getData(self, amount=0): cursor.execute(query) rows = cursor.fetchall() - amount = amount if len(rows) < 10 else len(rows) + amount = len(rows) if len(rows) < amount else amount leader_board = [] for i in range(amount):