From d5e40a976be2599dfa50ef9e2e324e2ab4f735e4 Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 17 Oct 2023 00:03:34 -0600 Subject: [PATCH] black --- common/cg_Crypto.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/cg_Crypto.py b/common/cg_Crypto.py index dcfa3ab..4ba41a0 100644 --- a/common/cg_Crypto.py +++ b/common/cg_Crypto.py @@ -40,8 +40,7 @@ class cg_Crypto: if resp.status_code == 429: log.warning(f"CoinGecko returned 429 - Too Many Requests for endpoint: {endpoint}. Sleeping and trying again.") time.sleep(10) - return self.get(endpoint=endpoint,params=params,timeout=timeout) - + return self.get(endpoint=endpoint, params=params, timeout=timeout) try: resp.raise_for_status()