mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-04 17:09:24 +01:00
Testing remotely blows.
This commit is contained in:
parent
7f1c57c388
commit
d64bc77b5a
@ -105,6 +105,7 @@ class SqliteKarmaDB(object):
|
|||||||
|
|
||||||
def gets(self, channel, things):
|
def gets(self, channel, things):
|
||||||
db = self._getDb(channel)
|
db = self._getDb(channel)
|
||||||
|
cursor = db.cursor()
|
||||||
normalizedThings = dict(zip(map(str.lower, things), things))
|
normalizedThings = dict(zip(map(str.lower, things), things))
|
||||||
criteria = ' OR '.join(['normalized=%s'] * len(normalizedThings))
|
criteria = ' OR '.join(['normalized=%s'] * len(normalizedThings))
|
||||||
sql = """SELECT name, added-subtracted FROM karma
|
sql = """SELECT name, added-subtracted FROM karma
|
||||||
|
Loading…
Reference in New Issue
Block a user