Forgot to self. cursor.

This commit is contained in:
Jeremy Fincher 2003-04-14 14:47:49 +00:00
parent 250cf8a95a
commit 71d13d49bb

View File

@ -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: