Extra data directory, no yuo\!

This commit is contained in:
Jeremy Fincher 2004-08-05 05:59:14 +00:00
parent 5c4d0e48cb
commit 667b5ff0b7

View File

@ -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."""