mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-27 00:10:02 +08:00
Add IPAddressBlocked to VALID_THROTTLE_EXCEPTIONS
This commit is contained in:
parent
963ae3354a
commit
356fb745f0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def time_until_end_of_day(dt=None):
|
||||||
hours_until_end_of_day = time_until_end_of_day().seconds // 3600 + 1
|
hours_until_end_of_day = time_until_end_of_day().seconds // 3600 + 1
|
||||||
|
|
||||||
VALID_THROTTLE_EXCEPTIONS = (TooManyRequests, DownloadLimitExceeded, ServiceUnavailable, APIThrottled,
|
VALID_THROTTLE_EXCEPTIONS = (TooManyRequests, DownloadLimitExceeded, ServiceUnavailable, APIThrottled,
|
||||||
ParseResponseError)
|
ParseResponseError, IPAddressBlocked)
|
||||||
VALID_COUNT_EXCEPTIONS = ('TooManyRequests', 'ServiceUnavailable', 'APIThrottled')
|
VALID_COUNT_EXCEPTIONS = ('TooManyRequests', 'ServiceUnavailable', 'APIThrottled')
|
||||||
|
|
||||||
PROVIDER_THROTTLE_MAP = {
|
PROVIDER_THROTTLE_MAP = {
|
||||||
|
|
Loading…
Reference in a new issue