Fixing typo on year.

This commit is contained in:
Samuel Clay 2012-12-03 15:51:17 -08:00
parent e9544084f4
commit 367336beb8

View file

@ -180,7 +180,7 @@ class Profile(models.Model):
most_recent_payment_date = payment.payment_date most_recent_payment_date = payment.payment_date
if most_recent_payment_date: if most_recent_payment_date:
self.premium_expire = most_recent_payment_date + datetime.timedelta(year=1) self.premium_expire = most_recent_payment_date + datetime.timedelta(days=365)
self.save() self.save()
def queue_new_feeds(self, new_feeds=None): def queue_new_feeds(self, new_feeds=None):