From 692f82cba4c1ad35f245a0157abb320b581c3354 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 26 Oct 2017 15:15:27 +0200 Subject: [PATCH] Code rearrange --- hosting/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosting/views.py b/hosting/views.py index d4af6d25..8eef90cb 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -627,8 +627,7 @@ class SettingsView(LoginRequiredMixin, FormView): card_id=card_details_response['card_id'] ) stripe_utils.associate_customer_card( - request.user.stripecustomer.stripe_id, - token + request.user.stripecustomer.stripe_id, token ) msg = _( "Successfully associated the card with your account"