mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 09:02:44 +08:00
Fix subliminal core: wrong providers being restarted
This commit is contained in:
parent
aaf4b7c673
commit
8c4e83c18d
1 changed files with 4 additions and 0 deletions
|
@ -131,6 +131,10 @@ class SZProviderPool(ProviderPool):
|
|||
|
||||
# Restart providers with new configs
|
||||
for key, val in provider_configs.items():
|
||||
# Don't restart providers that are not enabled
|
||||
if key not in self.providers:
|
||||
continue
|
||||
|
||||
# key: provider's name; val: config dict
|
||||
old_val = self.provider_configs.get(key)
|
||||
|
||||
|
|
Loading…
Reference in a new issue