mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing youtube story content encoding bug.
This commit is contained in:
parent
2369556817
commit
2491e3bf86
2 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
- name: Update Sentry release
|
||||
connection: local
|
||||
run_once: yes
|
||||
shell: >
|
||||
curl {{ sentry_web_release_webhook }}/ \
|
||||
-X POST \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue