This commit is contained in:
rlx 2018-02-15 17:26:36 +01:00
parent a61d6450da
commit cde5490df4

View file

@ -105,7 +105,7 @@ class Engine:
self.playlists, self.playlists,
key=lambda playlist: -score[playlist['name']] key=lambda playlist: -score[playlist['name']]
) )
videos = playlists[:channels['globalKeywords']] videos += playlists[:channels['globalKeywords']]
playlists = playlists[channels['globalKeywords']:] playlists = playlists[channels['globalKeywords']:]
# Count tags for the user # Count tags for the user
count = defaultdict(lambda: 0) count = defaultdict(lambda: 0)