We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e02ca commit cc6a7ddCopy full SHA for cc6a7dd
1 file changed
server.py
@@ -79,6 +79,7 @@ def login():
79
else:
80
try:
81
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
83
except sqlite3.Error as ex:
84
result['error'] = 2
85
# or raise further maybe
0 commit comments