From 81e29106c43b0ab815099f9ecf8c57245c7c9638 Mon Sep 17 00:00:00 2001 From: "Matthew M. Keeler" Date: Thu, 14 Dec 2023 08:51:26 -0500 Subject: [PATCH] fix: Fix data store availability status check (#237) --- ldclient/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldclient/client.py b/ldclient/client.py index d2767d48..c4708e89 100644 --- a/ldclient/client.py +++ b/ldclient/client.py @@ -121,7 +121,7 @@ def __update_availability(self, available: bool): def __check_availability(self): try: - if self.store.available: + if self.store.is_available(): self.__update_availability(True) except BaseException as e: log.error("Unexpected error from data store status function: %s", e)