Return right value for packaging
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
30dbfa9301
commit
bc4eb9e7b9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue