From 5f223860a73f03a92bc0125c80ecced257c38b51 Mon Sep 17 00:00:00 2001 From: Tim van Oostrom Date: Tue, 28 Nov 2023 15:03:46 +0100 Subject: [PATCH] Change condition --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index a1719a2..abfc2e1 100644 --- a/app/config.py +++ b/app/config.py @@ -34,7 +34,7 @@ SERVER_CLIENT_KEY = os.getenv("MIJN_DATA_CLIENT_KEY") # TODO: Add other AZ env conditions after migration. -if IS_TEST: +if IS_TAP and SERVER_CLIENT_CERT is not None: # https://stackoverflow.com/a/46570364/756075 # Server security / certificates cert = tempfile.NamedTemporaryFile(delete=False)