Skip to content

Commit 6165dc2

Browse files
committed
Fix test
1 parent 8b11c71 commit 6165dc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎growattServer/base_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _raise_if_rate_limited(response: requests.Response) -> None:
5757
data = back
5858

5959
if not data.get("success", True) and str(data.get("msg", "")) == RATE_LIMITED_CODE:
60-
# raise GrowattRateLimitError(error_code=RATE_LIMITED_CODE)
60+
raise GrowattRateLimitError(error_code=RATE_LIMITED_CODE)
6161

6262

6363
def hash_password(password: str) -> str:

0 commit comments

Comments
 (0)