From 43c9849b161827dcf2729fdb3914c84697ab145d Mon Sep 17 00:00:00 2001 From: j Date: Sun, 4 Feb 2018 19:28:35 +0100 Subject: [PATCH] strip whitespace --- recommendation_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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],