Commit c0d4b54b authored by haowang's avatar haowang

fix code

parent 4c8c0bed
......@@ -149,7 +149,7 @@ class CreatePictorial(BaseView):
for topic in topics:
topic_comments = topic.pop('comments', None)
images = topic.pop('images')
images = topic.pop('image')
topic['images'] = self.image_info(images)
topic['user_id'] = self.get_user_id(id_=topic.get('id'), platform=platform)
error, topic_obj = self.call_rpc('venus/community/crawl/topic', data=topic, platform=platform, pictorial_id=pictorial_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment