mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Updated as a precursor to making it database-independent.
This commit is contained in:
parent
3af85f301b
commit
a6f03fa33a
@ -160,7 +160,7 @@ class SqliteKarmaDB(object):
|
|||||||
WHERE normalized=%s""", normalized)
|
WHERE normalized=%s""", normalized)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
def decrement(self, channel, thing):
|
def decrement(self, channel, name):
|
||||||
db = self._getDb(channel)
|
db = self._getDb(channel)
|
||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
normalized = name.lower()
|
normalized = name.lower()
|
||||||
|
Loading…
Reference in New Issue
Block a user