From 8943ea5f28b7748f6fd3b7001e93fb55858d0d25 Mon Sep 17 00:00:00 2001 From: eivindsjovold Date: Wed, 4 Dec 2024 11:50:22 +0100 Subject: [PATCH] Fix code quality from snyk --- src/isar/config/keyvault/keyvault_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isar/config/keyvault/keyvault_service.py b/src/isar/config/keyvault/keyvault_service.py index 4c02fc08..5ef369bc 100644 --- a/src/isar/config/keyvault/keyvault_service.py +++ b/src/isar/config/keyvault/keyvault_service.py @@ -65,7 +65,7 @@ def set_secret(self, secret_name: str, secret_value) -> None: raise KeyvaultError # type: ignore def get_secret_client(self) -> SecretClient: - if self.client == None: + if self.client is None: try: credential: Union[ClientSecretCredential, DefaultAzureCredential] if self.client_id and self.client_secret and self.tenant_id: