aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-04 10:18:17 +0100
committerGravatar jesopo2018-10-04 10:18:17 +0100
commitd89c984d95f65e96b10755fcfd44c9e3b23f83b4 (patch)
treedc2023034cbd8a2465d96480d0e4f571a786e04f
parentMove 'top 10' logic to utils, add !wordiest to modules/words.py (diff)
signature
'ModuleWarning' -> 'ModuleManager.ModuleWarning' in modules/modules.py
-rw-r--r--modules/modules.py2
1 files changed, 1 insertions, 1 deletions
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)