From d89c984d95f65e96b10755fcfd44c9e3b23f83b4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 4 Oct 2018 10:18:17 +0100 Subject: [PATCH] 'ModuleWarning' -> 'ModuleManager.ModuleWarning' in modules/modules.py --- modules/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modules.py b/modules/modules.py index de1aa846..d502ac48 100644 --- a/modules/modules.py +++ b/modules/modules.py @@ -67,7 +67,7 @@ class Module(ModuleManager.BaseModule): for name in list(self.bot.modules.modules.keys()): try: self._reload(name) - except ModuleWarning: + except ModuleManager.ModuleWarning: continue except: failed.append(name)