mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing minor error when finding saved stories with no feed-based originals.
This commit is contained in:
parent
9b5dbc1822
commit
64be361aba
1 changed files with 1 additions and 1 deletions
|
@ -1746,7 +1746,7 @@ class MStory(mongo.Document):
|
|||
story_id = story_hash
|
||||
story_hash = cls.ensure_story_hash(story_id, story_feed_id)
|
||||
if not story_feed_id:
|
||||
feed_id, _ = cls.split_story_hash(story_hash)
|
||||
story_feed_id, _ = cls.split_story_hash(story_hash)
|
||||
if isinstance(story_id, ObjectId):
|
||||
story = cls.objects(id=story_id).limit(1).first()
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue