Enable tetris db even if log is disabled

This commit is contained in:
Paal Braathen committed 2015-02-25 23:20:23 +01:00
1 parent 7b7b5e152f
commit fe18be9d9a
1 file changed
+1
+1
View File
@@ -104,6 +104,7 @@ class IRCActions():
self.bot = bot
if not settings.DISABLE_LOG:
self.dbpool = self._get_dbpool()
if not settings.DISABLE_TETRIS:
self.tetris_dbpool = self._get_tetris_dbpool()
def _get_dbpool(self):