This commit is contained in:
Lili (Tlapka) 2022-10-18 14:10:52 +02:00
parent 6a4c8b759a
commit f9ff27c055
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def read_users_points_from_username(db, username):
if points is None:
return None
else:
return cursor.fetchone()[0]
return points[0]
except Error as e:
print("Error occured reading points from username:", e.args[0])
print("To user:", username)