Fixing youtube story content encoding bug.

This commit is contained in:
Samuel Clay 2022-03-03 11:21:06 -05:00
parent 2369556817
commit 2491e3bf86
2 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,7 @@
- name: Update Sentry release
connection: local
run_once: yes
shell: >
curl {{ sentry_web_release_webhook }}/ \
-X POST \

View file

@ -2501,7 +2501,9 @@ class MStory(mongo.Document):
story_content = self.story_content
if not story_content and self.story_content_z:
story_content = smart_str(zlib.decompress(self.story_content_z))
else:
story_content = smart_str(story_content)
return story_content