fix crash when trying to edit a backend of an unexistant module
This commit is contained in:
parent
eef7a71759
commit
ae2f417e0b
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ class BackendCfg(QDialog):
|
|||
params.pop('_enabled', None)
|
||||
|
||||
info = self.weboob.repositories.get_module_info(name)
|
||||
if info.is_installed() or self.askInstallModule(info):
|
||||
if info and (info.is_installed() or self.askInstallModule(info)):
|
||||
backend = self.weboob.modules_loader.get_or_load_module(bname)
|
||||
for key, value in backend.config.load(self.weboob, bname, name, params, nofail=True).iteritems():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue