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: