Second typo. Stupid payment code can't be tested offline.

This commit is contained in:
Samuel Clay 2014-11-17 13:59:13 -08:00
parent 30b533abbb
commit 0ea5e3fc68

View file

@ -224,7 +224,7 @@ class Profile(models.Model):
existing_history = PaymentHistory.objects.filter(user=self.user,
payment_provider__in=['paypal', 'stripe'])
if existing_history.count():
logging.user(self.uer, " ---> Deleting existing history: %s payments" % existing_history.count())
logging.user(self.user, " ---> Deleting existing history: %s payments" % existing_history.count())
existing_history.delete()
# Record Paypal payments