mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Handling missing feeds.
This commit is contained in:
parent
fbfa7920fc
commit
19a4a02754
1 changed files with 1 additions and 0 deletions
|
@ -1461,6 +1461,7 @@ class Feed(models.Model):
|
|||
feed_id, story_id = MStory.split_story_hash(story_hash)
|
||||
if feed_id not in popularity:
|
||||
feed = Feed.get_by_id(feed_id)
|
||||
if not feed: continue
|
||||
popularity[feed_id] = {
|
||||
'feed_title': feed.feed_title,
|
||||
'num_subscribers': feed.num_subscribers,
|
||||
|
|
Loading…
Add table
Reference in a new issue