From 9e247cc556ec7ab6caf960dca3ab15fa5cac2040 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 23 Dec 2020 09:08:08 +0530 Subject: [PATCH] Fix PEP warning --- datacenterlight/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index c57890ad..3cdc49c3 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -710,7 +710,7 @@ class OrderConfirmationView(DetailView, FormView): stripe_api_cus_id = request.session.get('customer') stripe_utils = StripeUtils() logger.debug("user=%s stripe_api_cus_id=%s" % (user, stripe_api_cus_id)) - card_details_response = None + card_details_response = None if 'token' in request.session: card_details = stripe_utils.get_cards_details_from_token(