mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Gotta be sure to basename the journal.
This commit is contained in:
parent
129b8a212b
commit
8ddf22fabb
@ -755,7 +755,8 @@ registerChannelValue(supybot.databases.plugins, 'channelSpecific',
|
|||||||
|
|
||||||
class CDB(registry.Boolean):
|
class CDB(registry.Boolean):
|
||||||
def connect(self, filename):
|
def connect(self, filename):
|
||||||
journalName = supybot.directories.data.tmp.dirize(filename+'.journal')
|
basename = os.path.basename(filename)
|
||||||
|
journalName = supybot.directories.data.tmp.dirize(basename+'.journal')
|
||||||
return cdb.open(filename, 'c',
|
return cdb.open(filename, 'c',
|
||||||
journalName=journalName,
|
journalName=journalName,
|
||||||
maxmods=self.maximumModifications())
|
maxmods=self.maximumModifications())
|
||||||
|
Loading…
Reference in New Issue
Block a user