mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +01:00
self.open() needs to happen *after* self.filename is set
This commit is contained in:
parent
224cacc966
commit
0b62247ccb
@ -62,9 +62,9 @@ def configure(onStart, afterConnect, advanced):
|
||||
class HeraldDB(object):
|
||||
def __init__(self):
|
||||
self.heralds = {}
|
||||
self.open()
|
||||
dataDir = conf.supybot.directories.data()
|
||||
self.filename = os.path.join(dataDir, 'Herald.db')
|
||||
self.open()
|
||||
|
||||
def open(self):
|
||||
dataDir = conf.supybot.directories.data()
|
||||
|
Loading…
Reference in New Issue
Block a user