mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Extra data directory, no yuo\!
This commit is contained in:
parent
5c4d0e48cb
commit
667b5ff0b7
@ -142,9 +142,8 @@ class ChannelDBHandler(object):
|
||||
def makeFilename(self, channel):
|
||||
"""Override this to specialize the filenames of your databases."""
|
||||
channel = ircutils.toLower(channel)
|
||||
prefix = makeChannelFilename(channel,
|
||||
self.__class__.__name__ + self.suffix)
|
||||
return os.path.join(conf.supybot.directories.data(), prefix)
|
||||
className = self.__class__.__name__
|
||||
return makeChannelFilename(channel, className + self.suffix)
|
||||
|
||||
def makeDb(self, filename):
|
||||
"""Override this to create your databases."""
|
||||
|
Loading…
Reference in New Issue
Block a user