From cde5490df4cb3858cd392a14a54abbadef0b0cbd Mon Sep 17 00:00:00 2001 From: rlx Date: Thu, 15 Feb 2018 17:26:36 +0100 Subject: [PATCH] typo --- recommendation_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recommendation_engine.py b/recommendation_engine.py index 6d9546d..fd4e055 100644 --- a/recommendation_engine.py +++ b/recommendation_engine.py @@ -105,7 +105,7 @@ class Engine: self.playlists, key=lambda playlist: -score[playlist['name']] ) - videos = playlists[:channels['globalKeywords']] + videos += playlists[:channels['globalKeywords']] playlists = playlists[channels['globalKeywords']:] # Count tags for the user count = defaultdict(lambda: 0)