fix exception
This commit is contained in:
parent
a090c20489
commit
f16f1ddb87
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class Weboob(object):
|
|||
"""
|
||||
minfo = self.repositories.get_module_info(module_name)
|
||||
if minfo is None:
|
||||
raise ModuleLoadError('Module "%s" does not exist.' % module_name)
|
||||
raise ModuleLoadError(module_name, 'Module does not exist.')
|
||||
|
||||
if not minfo.is_installed():
|
||||
self.repositories.install(minfo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue