mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-20 21:17:02 +00: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
|
# Restart providers with new configs
|
||||||
for key, val in provider_configs.items():
|
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
|
# key: provider's name; val: config dict
|
||||||
old_val = self.provider_configs.get(key)
|
old_val = self.provider_configs.get(key)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue