Fix PEP8 error
This commit is contained in:
parent
a34bd83c5e
commit
a3f212a59e
1 changed files with 2 additions and 5 deletions
|
@ -409,11 +409,8 @@ class MembershipPaymentView(LoginRequiredMixin, IsNotMemberMixin, FormView):
|
|||
)
|
||||
# Check if call to create subscription was ok
|
||||
if (stripe_subscription_obj is None or
|
||||
(
|
||||
stripe_subscription_obj.status != 'active' and
|
||||
stripe_subscription_obj.status != 'trialing'
|
||||
)
|
||||
):
|
||||
(stripe_subscription_obj.status != 'active' and
|
||||
stripe_subscription_obj.status != 'trialing')):
|
||||
context.update({
|
||||
'paymentError': subscription_result.get('error'),
|
||||
'form': form
|
||||
|
|
Loading…
Reference in a new issue