'ModuleWarning' -> 'ModuleManager.ModuleWarning' in modules/modules.py

This commit is contained in:
jesopo 2018-10-04 10:18:17 +01:00
parent 75f25db4cd
commit d89c984d95

View file

@ -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)