Fixing slight bug in how active premiums were applied to feed update times.

This commit is contained in:
Samuel Clay 2012-01-09 21:24:47 -08:00
parent c266d2b99b
commit 642323fd07

View file

@ -989,7 +989,7 @@ class Feed(models.Model):
slow_punishment = 6 * self.last_load_time
total = max(4, int(updates_per_day_delay + subscriber_bonus + slow_punishment))
if self.active_premium_subscribers:
if self.active_premium_subscribers > 0:
total = min(total, 60) # 1 hour minimum for premiums
if verbose: