Forgot self.

This commit is contained in:
Jeremy Fincher 2003-08-31 08:43:56 +00:00
parent cc2689ddb8
commit 488fd6dd32

View File

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