mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-19 23:20:57 +01:00
Forgot self.
This commit is contained in:
parent
cc2689ddb8
commit
488fd6dd32
@ -134,7 +134,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.Privmsg.__init__(self)
|
callbacks.Privmsg.__init__(self)
|
||||||
self.db = makeDb(dbFilename)
|
self.db = makeDb(dbFilename)
|
||||||
cursor = db.cursor()
|
cursor = self.db.cursor()
|
||||||
started = int(world.startedAt)
|
started = int(world.startedAt)
|
||||||
cursor.execute("""INSERT INTO uptime VALUES (%s, NULL)""", started)
|
cursor.execute("""INSERT INTO uptime VALUES (%s, NULL)""", started)
|
||||||
def f():
|
def f():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user