add_backend: do not crash if params is None
This commit is contained in:
parent
6b8a163158
commit
a51219a192
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class Weboob(object):
|
|||
self.logger.error(e)
|
||||
return
|
||||
|
||||
backend_instance = module.create_instance(self, module_name, params, storage)
|
||||
backend_instance = module.create_instance(self, module_name, params or {}, storage)
|
||||
return backend_instance
|
||||
|
||||
def load_backends(self, caps=None, names=None, modules=None, storage=None, errors=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue