mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing a few bugs in image url extraction.
This commit is contained in:
parent
bff60f4903
commit
97633614f8
1 changed files with 3 additions and 1 deletions
|
@ -1786,7 +1786,9 @@ class MStory(mongo.Document):
|
|||
if self.image_url and not force:
|
||||
return self.image_url
|
||||
|
||||
story_content = self.story_content or zlib.decompress(self.story_content_z)
|
||||
story_content = self.story_content
|
||||
if not story_content and self.story_content_z:
|
||||
story_content = zlib.decompress(self.story_content_z)
|
||||
if not story_content:
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue