From 73fca9646b72dde94a0cfc35f106488a323585f3 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Fri, 18 Mar 2022 17:00:24 -0400 Subject: [PATCH] no log: throttling providers fix --- bazarr/config.py | 3 +-- bazarr/get_providers.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bazarr/config.py b/bazarr/config.py index b27c80b5e..6d64bb3f5 100644 --- a/bazarr/config.py +++ b/bazarr/config.py @@ -256,8 +256,7 @@ base_url = settings.general.base_url.rstrip('/') ignore_keys = ['flask_secret_key', 'page_size', - 'page_size_manual_search', - 'throtteled_providers'] + 'page_size_manual_search'] raw_keys = ['movie_default_forced', 'serie_default_forced'] diff --git a/bazarr/get_providers.py b/bazarr/get_providers.py index bdcdc5d7b..446c08908 100644 --- a/bazarr/get_providers.py +++ b/bazarr/get_providers.py @@ -305,7 +305,7 @@ def update_throttled_provider(): for provider in list(tp): if provider not in providers_list: del tp[provider] - settings.general.throtteled_providers = str(tp) + set_throttled_providers(str(tp)) reason, until, throttle_desc = tp.get(provider, (None, None, None))