From 2725b9b1f6764f0f8f39531a8a3aa195c33e480b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Dachary?= Date: Tue, 4 Oct 2022 09:09:01 +0200 Subject: [PATCH] avoid crash in CI when STRIPE is not set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Dachary --- dashboard/local_settings.ci.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/local_settings.ci.py b/dashboard/local_settings.ci.py index 5bbf9ac..098879f 100644 --- a/dashboard/local_settings.ci.py +++ b/dashboard/local_settings.ci.py @@ -44,8 +44,8 @@ PAYMENT_VARIANTS = { "stripe": ( "payments.stripe.StripeProvider", # please don't change this { - "secret_key": env.get_value("STRIPE_SECRET_KEY"), - "public_key": env.get_value("STRIPE_PUBLIC_KEY"), + "secret_key": env.get_value("STRIPE_SECRET_KEY", default="UNSET"), + "public_key": env.get_value("STRIPE_PUBLIC_KEY", default="UNSET"), }, ) }