Fix PEP8 error
This commit is contained in:
parent
872582f45f
commit
b2d0fd45ad
1 changed files with 2 additions and 2 deletions
|
@ -393,8 +393,8 @@ class MembershipPaymentView(LoginRequiredMixin, IsNotMemberMixin, FormView):
|
|||
'response_object'
|
||||
)
|
||||
# Check if the subscription was approved and is active
|
||||
if (stripe_subscription_obj is None
|
||||
or stripe_subscription_obj.status != 'active'):
|
||||
if (stripe_subscription_obj is None or
|
||||
stripe_subscription_obj.status != 'active'):
|
||||
pass
|
||||
|
||||
charge = charge_response.get('response_object')
|
||||
|
|
Loading…
Reference in a new issue