bugfix
This commit is contained in:
@@ -57,7 +57,7 @@ def read_users_points_from_username(db, username):
|
|||||||
if points is None:
|
if points is None:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
return cursor.fetchone()[0]
|
return points[0]
|
||||||
except Error as e:
|
except Error as e:
|
||||||
print("Error occured reading points from username:", e.args[0])
|
print("Error occured reading points from username:", e.args[0])
|
||||||
print("To user:", username)
|
print("To user:", username)
|
||||||
|
|||||||
Reference in New Issue
Block a user