Update db.py

Fixing just one typo ("query's" to "queries"), after staring at it on my screen for the last few hours :)
This commit is contained in:
BobWatson 2014-05-04 15:04:22 +10:00
parent 3ba3a74fd0
commit 20798639ae
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class DBConnection:
logger.log(qu[0] + " with args " + str(qu[1]), logger.DEBUG)
sqlResult.append(self.connection.execute(qu[0], qu[1]))
self.connection.commit()
logger.log(u"Transaction with " + str(len(querylist)) + u" query's executed", logger.DEBUG)
logger.log(u"Transaction with " + str(len(querylist)) + u" queries executed", logger.DEBUG)
return sqlResult
except sqlite3.OperationalError, e:
sqlResult = []