Revert change of executeQuery() return type
This commit is contained in:
parent
ca332951fa
commit
c9a7ce03c0
2
tools.py
2
tools.py
|
@ -16,7 +16,7 @@ class dbObject:
|
||||||
return self.conn.commit()
|
return self.conn.commit()
|
||||||
|
|
||||||
def executeQuery(self, query):
|
def executeQuery(self, query):
|
||||||
return list(self.cur.execute(query))
|
return self.cur.execute(query)
|
||||||
|
|
||||||
def getNext(self):
|
def getNext(self):
|
||||||
return self.cur.fetchone()
|
return self.cur.fetchone()
|
||||||
|
|
Loading…
Reference in a new issue