pep8
This commit is contained in:
parent
6ae495e29b
commit
03e9329b68
@ -139,7 +139,8 @@ class Tipue_Search_JSON_Generator(object):
|
|||||||
data_tags = ['%s' % (tag) for tag in article.tags]
|
data_tags = ['%s' % (tag) for tag in article.tags]
|
||||||
video_tags = dict((num, tag) for num, tag in enumerate(data_tags))
|
video_tags = dict((num, tag) for num, tag in enumerate(data_tags))
|
||||||
|
|
||||||
node = {'title': video_title,
|
node = {
|
||||||
|
'title': video_title,
|
||||||
'description': video_desc_text,
|
'description': video_desc_text,
|
||||||
'descriptionHtml': video_desc_html,
|
'descriptionHtml': video_desc_html,
|
||||||
'videoThumbnail': url_image,
|
'videoThumbnail': url_image,
|
||||||
@ -153,7 +154,8 @@ class Tipue_Search_JSON_Generator(object):
|
|||||||
'time': video_time,
|
'time': video_time,
|
||||||
'category': video_category,
|
'category': video_category,
|
||||||
'keywords': video_tags,
|
'keywords': video_tags,
|
||||||
'url': video_url}
|
'url': video_url
|
||||||
|
}
|
||||||
|
|
||||||
self.json_nodes.append(node)
|
self.json_nodes.append(node)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user