mirror of https://github.com/morpheus65535/bazarr
Fixed throttled_providers.dat reset
This commit is contained in:
parent
b7e6de71ff
commit
77302fad21
|
@ -496,7 +496,7 @@ def get_throttled_providers():
|
|||
except Exception:
|
||||
# set empty content in throttled_providers.dat
|
||||
logging.error("Invalid content in throttled_providers.dat. Resetting")
|
||||
set_throttled_providers(providers)
|
||||
set_throttled_providers(str(providers))
|
||||
finally:
|
||||
return providers
|
||||
|
||||
|
|
Loading…
Reference in New Issue