Skip to content

Commit 5b808b6

Browse files
chore(python): remove redundant check (generated)
algolia/api-clients-automation#5338 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent e6fb93c commit 5b808b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algoliasearch/http/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def decide(self, host: Host, response: ApiResponse) -> str:
3333
host.up = False
3434

3535
return RetryOutcome.RETRY
36-
elif response.status_code is not None and self._is_success(response):
36+
elif self._is_success(response):
3737
return RetryOutcome.SUCCESS
3838

3939
return RetryOutcome.FAIL

0 commit comments

Comments
 (0)