From 488fd6dd3234b87b1f0e17b62dcc879b9940efef Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 31 Aug 2003 08:43:56 +0000 Subject: [PATCH] Forgot self. --- plugins/FunDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/FunDB.py b/plugins/FunDB.py index e989a227e..300f1f301 100755 --- a/plugins/FunDB.py +++ b/plugins/FunDB.py @@ -134,7 +134,7 @@ class FunDB(callbacks.Privmsg): def __init__(self): callbacks.Privmsg.__init__(self) self.db = makeDb(dbFilename) - cursor = db.cursor() + cursor = self.db.cursor() started = int(world.startedAt) cursor.execute("""INSERT INTO uptime VALUES (%s, NULL)""", started) def f():