bugfix
This commit is contained in:
parent
6a4c8b759a
commit
f9ff27c055
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue