From: CMDR furrycat Date: Wed, 11 Oct 2017 10:48:04 +0000 (+0100) Subject: Fixed updating level after plugins reload. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=87f2ce6a4460bcfa894d490c74cfbf3f0de2823c;p=furrycat%2Fcatbot.git Fixed updating level after plugins reload. --- diff --git a/app.py b/app.py index 3475352..73acb57 100644 --- a/app.py +++ b/app.py @@ -258,7 +258,7 @@ async def builtin_commands(message, command, raw): if len(args) > 1: if args[1] == 'reload': plugins.refresh() - plugins.log_level(log.getLevel()) + plugins.log_level(log.getEffectiveLevel()) return True return False all_plugins = list(plugins.plugins())