Testing remotely blows.

This commit is contained in:
Jeremy Fincher 2004-08-11 23:40:56 +00:00
parent 7f1c57c388
commit d64bc77b5a

View File

@ -105,6 +105,7 @@ class SqliteKarmaDB(object):
def gets(self, channel, things):
db = self._getDb(channel)
cursor = db.cursor()
normalizedThings = dict(zip(map(str.lower, things), things))
criteria = ' OR '.join(['normalized=%s'] * len(normalizedThings))
sql = """SELECT name, added-subtracted FROM karma