Merge pull request #979 from redglory/development

Add IPAddressBlocked to VALID_THROTTLE_EXCEPTIONS
pull/986/head
morpheus65535 5 years ago committed by GitHub
commit e10d54ff3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save