Add missing change to loaded_module.module
(from module
) in unload_module
This commit is contained in:
parent
91beadd1cd
commit
ac71cfa4fa
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class ModuleManager(object):
|
|||
if not name in self.modules:
|
||||
raise ModuleNotFoundException()
|
||||
loaded_module = self.modules[name]
|
||||
if hasattr(module, "unload"):
|
||||
if hasattr(loaded_module.module, "unload"):
|
||||
try:
|
||||
loaded_module.module.unload()
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue