From aef2dd7790e02fc777461774aff2f7bd888fa208 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 5 Feb 2018 16:19:44 +0100 Subject: [PATCH] only ignore upper case tags --- recommendation_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recommendation_engine.py b/recommendation_engine.py index 6fe83fd..341901c 100644 --- a/recommendation_engine.py +++ b/recommendation_engine.py @@ -198,7 +198,7 @@ class Engine: changed = True for playlist in self.playlists: for tag in playlist.get('tags', []): - if tag.islower() and tag not in self.state['keywords']: + if not tag.isupper() and tag not in self.state['keywords']: self.state['keywords'][tag] = {'value': 0} changed = True if changed: