From bc4eb9e7b99faa2bb0331e68f0984eaaea0d5675 Mon Sep 17 00:00:00 2001 From: fly Date: Mon, 7 Dec 2020 09:04:16 +0000 Subject: [PATCH] Return right value for packaging Signed-off-by: fly --- worldbuild-manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldbuild-manager.py b/worldbuild-manager.py index 0b41cff..94b211f 100755 --- a/worldbuild-manager.py +++ b/worldbuild-manager.py @@ -158,7 +158,7 @@ try: c.send(str(tile).encode()) 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) result = cursor.fetchone() if result == None: