Add IPAddressBlocked to VALID_THROTTLE_EXCEPTIONS

This commit is contained in:
Bazarr 2020-05-11 15:43:20 +01:00
parent 963ae3354a
commit 356fb745f0
1 changed files with 1 additions and 1 deletions

View File

@ -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
VALID_THROTTLE_EXCEPTIONS = (TooManyRequests, DownloadLimitExceeded, ServiceUnavailable, APIThrottled,
ParseResponseError)
ParseResponseError, IPAddressBlocked)
VALID_COUNT_EXCEPTIONS = ('TooManyRequests', 'ServiceUnavailable', 'APIThrottled')
PROVIDER_THROTTLE_MAP = {