Fix PEP8 warning

This commit is contained in:
PCoder 2018-07-07 01:54:45 +02:00
parent 678167978c
commit 0f26917f35

View file

@ -620,8 +620,7 @@ class SettingsView(LoginRequiredMixin, FormView):
request.user
.stripecustomer
.usercarddetail_set
.count() > 1
):
.count() > 1):
if card.card_id is not None:
stripe_utils = StripeUtils()
stripe_utils.dissociate_customer_card(