mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Typo
This commit is contained in:
parent
7e14a60452
commit
529a437a17
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class Feed(models.Model):
|
||||||
stories = Story.objects.filter(story_feed=self).order_by('-story_date')
|
stories = Story.objects.filter(story_feed=self).order_by('-story_date')
|
||||||
print 'Found %s stories in %s. Trimming...' % (stories.count(), self)
|
print 'Found %s stories in %s. Trimming...' % (stories.count(), self)
|
||||||
if stories.count() > 1000:
|
if stories.count() > 1000:
|
||||||
old_story = story[1000]
|
old_story = stories[1000]
|
||||||
user_stories = UserStory.objects.filter(feed=self,
|
user_stories = UserStory.objects.filter(feed=self,
|
||||||
read_date__lte=old_story.story_date)
|
read_date__lte=old_story.story_date)
|
||||||
user_stories_count = user_stories.count()
|
user_stories_count = user_stories.count()
|
||||||
|
|
Loading…
Add table
Reference in a new issue