mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Merge branch 'master' into dejal
This commit is contained in:
commit
2e1fb5ff4f
1 changed files with 1 additions and 1 deletions
|
@ -2620,7 +2620,7 @@ class MStory(mongo.Document):
|
|||
|
||||
def __str__(self):
|
||||
content = self.story_content_z if self.story_content_z else ""
|
||||
return f"{self.story_hash}: {self.story_title[:20]} ({len(self.story_content_z)} bytes)"
|
||||
return f"{self.story_hash}: {self.story_title[:20]} ({len(self.story_content_z) if self.story_content_z else 0} bytes)"
|
||||
|
||||
@property
|
||||
def guid_hash(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue