mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
QuoteGrabs: QuoteGrabsRecord at arg needs to be an int.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
dcb247494e
commit
cbf68e53e3
@ -105,7 +105,7 @@ class SqliteQuoteGrabsDB(object):
|
|||||||
raise dbi.NoRecordError
|
raise dbi.NoRecordError
|
||||||
(id, by, quote, hostmask, at, grabber) = cursor.fetchone()
|
(id, by, quote, hostmask, at, grabber) = cursor.fetchone()
|
||||||
return QuoteGrabsRecord(id, by=by, text=quote, hostmask=hostmask,
|
return QuoteGrabsRecord(id, by=by, text=quote, hostmask=hostmask,
|
||||||
at=at, grabber=grabber)
|
at=int(at), grabber=grabber)
|
||||||
|
|
||||||
def random(self, channel, nick):
|
def random(self, channel, nick):
|
||||||
db = self._getDb(channel)
|
db = self._getDb(channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user