Fix PEP8 error

This commit is contained in:
PCoder 2017-12-24 00:21:25 +01:00
parent 872582f45f
commit b2d0fd45ad

View file

@ -393,8 +393,8 @@ class MembershipPaymentView(LoginRequiredMixin, IsNotMemberMixin, FormView):
'response_object' 'response_object'
) )
# Check if the subscription was approved and is active # Check if the subscription was approved and is active
if (stripe_subscription_obj is None if (stripe_subscription_obj is None or
or stripe_subscription_obj.status != 'active'): stripe_subscription_obj.status != 'active'):
pass pass
charge = charge_response.get('response_object') charge = charge_response.get('response_object')