From e7bde0e5112f885a9b6cf8a152e4039f7ef7b7d3 Mon Sep 17 00:00:00 2001 From: Christine Simpson Date: Mon, 30 Oct 2023 14:48:39 -0500 Subject: [PATCH] fixed warning message thrown when logging in --- balsam/client/requests_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balsam/client/requests_client.py b/balsam/client/requests_client.py index 5e918328..2be7cca6 100644 --- a/balsam/client/requests_client.py +++ b/balsam/client/requests_client.py @@ -102,7 +102,7 @@ def request( logger.warning(f"Attempt retry ({self._attempt} of {self.retry_count}) of connection: {exc}") self.backoff(exc) except requests.HTTPError as exc: - if authenticating == False: + if authenticating is False: logger.warning(f"Attempt retry ({self._attempt} of {self.retry_count}) of connection: {exc}") self.backoff(exc) else: