Merge branch 'master' into dejal

This commit is contained in:
David Sinclair 2023-10-09 16:07:36 -06:00
commit 2e1fb5ff4f

View file

@ -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):