mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Typo
This commit is contained in:
parent
5a682ff2b9
commit
fd2aa291d1
1 changed files with 1 additions and 1 deletions
|
@ -1713,7 +1713,7 @@ class Feed(models.Model):
|
|||
|
||||
now = datetime.datetime.now().strftime('%s')
|
||||
unread_cutoff = self.unread_cutoff.strftime('%s')
|
||||
story_count = len(r.zrangebyscore("zF:$s" % self.pk, max=now, min=unread_cutoff))
|
||||
story_count = len(r.zrangebyscore("zF:%s" % self.pk, max=now, min=unread_cutoff))
|
||||
if reader_count and story_count:
|
||||
average_pct = (sum(counts) / float(reader_count)) / float(story_count)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue