typos
This commit is contained in:
parent
b41b56941c
commit
b749d66bac
1 changed files with 7 additions and 7 deletions
|
@ -280,8 +280,8 @@ class Engine:
|
||||||
# Record the following for debug view input
|
# Record the following for debug view input
|
||||||
top_user_playlists = [{
|
top_user_playlists = [{
|
||||||
'name': playlist['name'],
|
'name': playlist['name'],
|
||||||
'tags': playlist['tags']
|
'tags': playlist['tags'],
|
||||||
'score': score[playlist['name']]
|
'score': score[playlist['name']],
|
||||||
} for playlist in playlists[:channels['userKeywords']]]
|
} for playlist in playlists[:channels['userKeywords']]]
|
||||||
|
|
||||||
videos = playlists[:channels['userKeywords']]
|
videos = playlists[:channels['userKeywords']]
|
||||||
|
@ -300,8 +300,8 @@ class Engine:
|
||||||
# Record the following for debug view input
|
# Record the following for debug view input
|
||||||
top_global_playlists = [{
|
top_global_playlists = [{
|
||||||
'name': playlist['name'],
|
'name': playlist['name'],
|
||||||
'tags': playlist['tags']
|
'tags': playlist['tags'],
|
||||||
'score': score[playlist['name']]
|
'score': score[playlist['name']],
|
||||||
} for playlist in playlists[:channels['globalKeywords']]]
|
} for playlist in playlists[:channels['globalKeywords']]]
|
||||||
|
|
||||||
videos += playlists[:16 - channels['userKeywords']]
|
videos += playlists[:16 - channels['userKeywords']]
|
||||||
|
@ -463,7 +463,7 @@ class Engine:
|
||||||
'tags': storyline['tags'],
|
'tags': storyline['tags'],
|
||||||
'clips': [{
|
'clips': [{
|
||||||
'item': clip['id'].split('/')[0],
|
'item': clip['id'].split('/')[0],
|
||||||
'id': '%s_%0.3f-%0.3f' % (id.split('/')[0], data['in'], data['out']),
|
'id': '%s_%0.3f-%0.3f' % (clip['id'].split('/')[0], clip['in'], clip['out']),
|
||||||
'in': clip['in'],
|
'in': clip['in'],
|
||||||
'out': clip['out']
|
'out': clip['out']
|
||||||
} for clip in clips if clip['value'] == storyline['name']]
|
} for clip in clips if clip['value'] == storyline['name']]
|
||||||
|
|
Loading…
Reference in a new issue