Fix PEP warning
This commit is contained in:
parent
ca7481cce0
commit
9e247cc556
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ class OrderConfirmationView(DetailView, FormView):
|
||||||
stripe_api_cus_id = request.session.get('customer')
|
stripe_api_cus_id = request.session.get('customer')
|
||||||
stripe_utils = StripeUtils()
|
stripe_utils = StripeUtils()
|
||||||
logger.debug("user=%s stripe_api_cus_id=%s" % (user, stripe_api_cus_id))
|
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:
|
if 'token' in request.session:
|
||||||
card_details = stripe_utils.get_cards_details_from_token(
|
card_details = stripe_utils.get_cards_details_from_token(
|
||||||
|
|
Loading…
Reference in a new issue