fix: fetch api always returns retry limit exceeded

Fixes: 5492aee0d603a6de49d59e8800e30be45a66bfa9 (feature: new fetch api for retry)
This commit is contained in:
Puqns67 2024-10-15 19:53:26 +08:00
parent a5911b670a
commit 1ca227b8be
Signed by: Puqns67
GPG Key ID: 9669DF042554F536

View File

@ -211,7 +211,7 @@ class NCMApi:
if retry < 0: if retry < 0:
retry = 0 retry = 0
while retry < 0: while retry >= 0:
try: try:
return self._httpClient.send(request) return self._httpClient.send(request)
except Exception: except Exception: