Skip to content

Commit 068fbf8

Browse files
committed
fix: return None if user is not stored
1 parent a43d2cd commit 068fbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_user(self, user_id):
7878

7979
result = self.cursor.fetchone()
8080
if not result or len(result) == 0:
81-
return ()
81+
return None
8282
return result
8383

8484
def get_recent_players(self):

0 commit comments

Comments
 (0)