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:
parent
1520d6614b
commit
73fca9646b
2 changed files with 2 additions and 3 deletions
|
@ -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']
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue