1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 08:13:14 +00:00

no log: throttling providers fix

This commit is contained in:
morpheus65535 2022-03-18 17:00:24 -04:00
parent 1520d6614b
commit 73fca9646b
2 changed files with 2 additions and 3 deletions

View file

@ -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']

View file

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