From 71d13d49bb026a61c0887bb1bc9f9e044dcabd6f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 14:47:49 +0000 Subject: [PATCH] Forgot to self. cursor. --- plugins/Notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Notes.py b/plugins/Notes.py index 7ac31da84..8eb30b810 100644 --- a/plugins/Notes.py +++ b/plugins/Notes.py @@ -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: