allow overriding STRIPE_* with local_settings.py
ci/woodpecker/pr/woodpecker Pipeline failed Details

Without a default value it will fail before it gets a chance to be
overriden by local_settings.py

Signed-off-by: Loïc Dachary <loic@dachary.org>
pull/2/head
Loïc Dachary 2022-06-25 21:29:04 +02:00
parent b387e44f49
commit adcdd00179
Signed by: dachary
GPG Key ID: 992D23B392F9E4F2
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ PAYMENT_VARIANTS = {
"stripe": (
"payments.stripe.StripeProvider",
{
"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=""),
"public_key": env.get_value("STRIPE_PUBLIC_KEY", default=""),
},
)
}