2013-12-26, 18:51
Ok, i did a little googling and this modification to your script seems to do the job, no idea if this has any adverse effect..
(rows 1181-1183)
(rows 1181-1183)
Code:
self.mydb = lite.connect(self.config.getDBPath(), timeout=10)
self.mydb.text_factory = str
self.DBVERSION = self.execute("SELECT idVersion FROM version").fetchone()[0]