Fix subliminal core: wrong providers being restarted

pull/1773/head v1.0.4-beta.10
Vitiko 2 years ago
parent aaf4b7c673
commit 8c4e83c18d

@ -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…
Cancel
Save