diff --git a/utils/feed_fetcher.py b/utils/feed_fetcher.py index 74982827a..5099644e5 100644 --- a/utils/feed_fetcher.py +++ b/utils/feed_fetcher.py @@ -227,7 +227,7 @@ class ProcessFeed: # story_guid__in=story_guids, story_date__gte=start_date, story_feed_id=self.feed_id - ).limit(min(int(len(story_guids)*1.5), 10))) + ).limit(max(int(len(story_guids)*1.5), 10))) # MStory.objects( # (Q(story_date__gte=start_date) & Q(story_date__lte=end_date))