diff --git a/latex_commands.py b/latex_commands.py index 6d92d56..4a418bd 100644 --- a/latex_commands.py +++ b/latex_commands.py @@ -20,7 +20,6 @@ from latex_functions import ( class LatexModule(commands.Cog): def __init__(self, bot: commands.Bot, logger_name: str): self.bot = bot - import logging self.logger = logging.getLogger(logger_name) # -------- /tex (PDF + diagnoza; log -> debug logger) -------- @@ -131,5 +130,5 @@ class LatexModule(commands.Cog): async def setup(bot): logger = logging.getLogger("discord") - await bot.add_cog(LatexModule(bot, logger_name="latex")) + await bot.add_cog(LatexModule(bot, logger_name="discord")) logger.info("Loading kinky latex module done")