diff --git a/recommendation_engine.py b/recommendation_engine.py index bb99180..3c59770 100644 --- a/recommendation_engine.py +++ b/recommendation_engine.py @@ -133,7 +133,7 @@ class Engine: # Get and cache playlists self.playlists = [playlist for playlist in [{ 'id': storyline['id'], - 'name': storyline['nodename'], + 'name': storyline['nodename'].strip(), 'tags': storyline['tags'], 'clips': [{ 'item': clip['id'].split('/')[0],