mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Better filenames for FunDB databases.
This commit is contained in:
parent
e381f11e12
commit
6e1dc647dd
@ -77,7 +77,7 @@ class DbiFunDBDB(object):
|
||||
if channel not in self.dbs:
|
||||
self.dbs[channel] = {}
|
||||
if type not in self.dbs[channel]:
|
||||
filename = self.filename.replace('db', '%s.db' % type.capitalize())
|
||||
filename = self.filename.replace('FunDB', type.capitalize())
|
||||
filename = plugins.makeChannelFilename(filename, channel)
|
||||
self.dbs[channel][type] = self.FunDBDB(filename)
|
||||
return self.dbs[channel][type]
|
||||
|
Loading…
Reference in New Issue
Block a user