Return right value for packaging

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-12-07 09:04:16 +00:00
parent 30dbfa9301
commit bc4eb9e7b9

View file

@ -158,7 +158,7 @@ try:
c.send(str(tile).encode()) c.send(str(tile).encode())
elif action == "get-done": elif action == "get-done":
sql = "SELECT id FROM secondLevel WHERE status_id = (SELECT id FROM status WHERE name = 'done') LIMIT 1" sql = "SELECT name FROM secondLevel WHERE status_id = (SELECT id FROM status WHERE name = 'done') LIMIT 1"
cursor.execute(sql) cursor.execute(sql)
result = cursor.fetchone() result = cursor.fetchone()
if result == None: if result == None: