Aka: Fix database name.

This commit is contained in:
Valentin Lorentz 2015-12-02 07:55:00 +00:00
parent bc19a9fc7f
commit 3fde279e50

View File

@ -385,7 +385,8 @@ class Aka(callbacks.Plugin):
def __init__(self, irc):
self.__parent = super(Aka, self)
self.__parent.__init__(irc)
filename = conf.supybot.directories.data.dirize('Aka')
# “sqlalchemy” is only for backward compatibility
filename = conf.supybot.directories.data.dirize('Aka.sqlalchemy.db')
self._db = AkaDB(filename)
def isCommandMethod(self, name):