mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-29 06:51:08 -05:00
Forgot to self. cursor.
This commit is contained in:
parent
250cf8a95a
commit
71d13d49bb
@ -196,7 +196,7 @@ class Notes(callbacks.Privmsg):
|
|||||||
self.cursor.execute("""SELECT id, from_id, public, read FROM notes
|
self.cursor.execute("""SELECT id, from_id, public, read FROM notes
|
||||||
WHERE to_id=%s
|
WHERE to_id=%s
|
||||||
AND read=0""", senderID)
|
AND read=0""", senderID)
|
||||||
count = cursor.rowcount
|
count = self.cursor.rowcount
|
||||||
notes = self.cursor.fetchall()
|
notes = self.cursor.fetchall()
|
||||||
L = []
|
L = []
|
||||||
if count == 0:
|
if count == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user