1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-19 04:31:30 +00:00

Fix subliminal core: wrong providers being restarted

This commit is contained in:
Vitiko 2022-03-19 02:02:05 -04:00
parent aaf4b7c673
commit 8c4e83c18d

View file

@ -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)