diff --git a/src/database/__init__.py b/src/database/__init__.py index fc4459c..e1c93d4 100644 --- a/src/database/__init__.py +++ b/src/database/__init__.py @@ -18,7 +18,7 @@ class Database: def getInstructions(this, cid): this.cur.execute("SELECT ins FROM instructions WHERE cid=?", (cid,)) - return this.cur.fetchone() + return this.cur.fetchone()[0] def addInstructions(this, pname, ins): cid = "".join(random.choice(string.ascii_lowercase) for i in range(20))