From c1cab747fa8c93f787d0386f29ccfe1fd111002a Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Tue, 22 Aug 2023 21:58:48 -0700 Subject: [PATCH] spelling fix --- chess_export/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chess_export/common.py b/chess_export/common.py index 3759dd9..9e536c6 100644 --- a/chess_export/common.py +++ b/chess_export/common.py @@ -23,7 +23,7 @@ def safe_request( eprint(f"Requesting {url}") resp: requests.Response = requests.get(url, **kwargs) if resp.status_code == 429: - eprint("Error: Recieved 429 error, waiting...") + eprint("Error: Received 429 error, waiting...") time.sleep(backoff_time or BACKOFF_TIME) # recursive call kwargs["backoff_time"] = backoff_time @@ -31,7 +31,7 @@ def safe_request( return safe_request(url, **kwargs) else: if resp.status_code != 200: - eprint(f"Warning: {url} recieved non 200 exit code: {resp.status_code}") + eprint(f"Warning: {url} received non 200 exit code: {resp.status_code}") time.sleep(sleep_time or SLEEP_TIME) return resp