Fix PEP8 warnings
This commit is contained in:
parent
2a8f02a197
commit
7e5cab2cc4
2 changed files with 1 additions and 3 deletions
|
@ -212,8 +212,6 @@ class StripeCustomer(models.Model):
|
|||
stripe_customer.user, token)
|
||||
if "deleted" in customer and customer["deleted"]:
|
||||
raise StripeCustomer.DoesNotExist()
|
||||
#if not customer.sources.data:
|
||||
# stripe_utils.update_customer_token(customer, token)
|
||||
return stripe_customer
|
||||
except StripeCustomer.DoesNotExist:
|
||||
user = CustomUser.objects.get(email=email)
|
||||
|
|
|
@ -315,4 +315,4 @@ class StripeUtils(object):
|
|||
"""
|
||||
subscription = stripe.Subscription.retrieve(subscription_id)
|
||||
subscription.metadata = meta_data
|
||||
subscription.save()
|
||||
subscription.save()
|
||||
|
|
Loading…
Reference in a new issue