'ModuleWarning' -> 'ModuleManager.ModuleWarning' in modules/modules.py
This commit is contained in:
parent
75f25db4cd
commit
d89c984d95
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
for name in list(self.bot.modules.modules.keys()):
|
for name in list(self.bot.modules.modules.keys()):
|
||||||
try:
|
try:
|
||||||
self._reload(name)
|
self._reload(name)
|
||||||
except ModuleWarning:
|
except ModuleManager.ModuleWarning:
|
||||||
continue
|
continue
|
||||||
except:
|
except:
|
||||||
failed.append(name)
|
failed.append(name)
|
||||||
|
|
Loading…
Reference in a new issue