Skip to content

Commit cc6a7dd

Browse files
committed
TODOs
1 parent c3e02ca commit cc6a7dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def login():
7979
else:
8080
try:
8181
random_user = query_db('SELECT * FROM users ORDER BY RANDOM() LIMIT 1', (), True)
82+
# todo: Return a Row object and turn it into a predefined model
8283
except sqlite3.Error as ex:
8384
result['error'] = 2
8485
# or raise further maybe

0 commit comments

Comments
 (0)