mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01: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
|
||||
WHERE to_id=%s
|
||||
AND read=0""", senderID)
|
||||
count = cursor.rowcount
|
||||
count = self.cursor.rowcount
|
||||
notes = self.cursor.fetchall()
|
||||
L = []
|
||||
if count == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user