handle the case a backend is configured but not installed
This commit is contained in:
parent
59b957d38f
commit
eca1e59191
3 changed files with 18 additions and 5 deletions
|
|
@ -63,6 +63,8 @@ class BackendCfg(QDialog):
|
|||
def loadConfiguredBackendsList(self):
|
||||
self.ui.configuredBackendsList.clear()
|
||||
for instance_name, name, params in self.weboob.backends_config.iter_backends():
|
||||
if name not in self.weboob.backends_loader.loaded:
|
||||
continue
|
||||
backend = self.weboob.backends_loader.loaded[name]
|
||||
if self.caps and not backend.has_caps(*self.caps):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue