From 901f10eef5be055d9d6e8ceba4ea5ac7da8016fa Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 29 May 2014 13:37:46 -0700 Subject: [PATCH] Counting saved stories when not count exists. --- apps/rss_feeds/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rss_feeds/models.py b/apps/rss_feeds/models.py index 54be7caea..f96c28cb6 100644 --- a/apps/rss_feeds/models.py +++ b/apps/rss_feeds/models.py @@ -2223,7 +2223,7 @@ class MStarredStoryCounts(mongo.Document): if c['feed_id']: feed_total += c['count'] - if try_counting and total != feed_total: + if try_counting and (total != feed_total or not len(counts)): user = User.objects.get(pk=user_id) logging.user(user, "~FC~SBCounting~SN saved stories (%s total vs. %s counted)..." % (total, feed_total))