weboob-config add: fix double message "Unable to load module"
This commit is contained in:
parent
76da084ec1
commit
32e965d338
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ __all__ = ['Module', 'ModulesLoader', 'ModuleLoadError']
|
|||
|
||||
class ModuleLoadError(Exception):
|
||||
def __init__(self, module_name, msg):
|
||||
Exception.__init__(self, u'Unable to load module "%s": %s' % (module_name, msg))
|
||||
Exception.__init__(self, msg)
|
||||
self.module = module_name
|
||||
|
||||
class Module(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue