diff --git a/tlapbot/owncast_helpers.py b/tlapbot/owncast_helpers.py index 1bb4108..dc2ee1f 100644 --- a/tlapbot/owncast_helpers.py +++ b/tlapbot/owncast_helpers.py @@ -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)