fix: remove a provider enabled if doesn't exist
only if bard was enabled
This commit is contained in:
parent
72715e0bde
commit
62b57a6ad9
|
@ -146,6 +146,7 @@ class BavarderApplication(Adw.Application):
|
|||
self.provider_selector_model.append(PROVIDERS[provider].name)
|
||||
except KeyError:
|
||||
print("Provider", provider, "not found")
|
||||
self.enabled_providers.remove(provider)
|
||||
continue
|
||||
else:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue