Skip to content
Snippets Groups Projects
Commit 6b5c2676 authored by roadscape's avatar roadscape
Browse files

condenser#3424 mitigation, fix #205

parent f7d5c927
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,10 @@ def _condenser_post_object(row, truncate_body=0): ...@@ -120,6 +120,10 @@ def _condenser_post_object(row, truncate_body=0):
"""Given a hive_posts_cache row, create a legacy-style post object.""" """Given a hive_posts_cache row, create a legacy-style post object."""
paid = row['is_paidout'] paid = row['is_paidout']
# condenser#3424 mitigation
if not row['category']:
row['category'] = 'all'
post = {} post = {}
post['post_id'] = row['post_id'] post['post_id'] = row['post_id']
post['author'] = row['author'] post['author'] = row['author']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment