From 056fdb706f0564467c5ba0e2618784bfd11c810e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 10 Jul 2013 14:29:23 +0000 Subject: [PATCH] dont add None, null clip results, fixes #1425 --- pandora/clip/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/clip/models.py b/pandora/clip/models.py index c37407e4..a997099f 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -81,7 +81,8 @@ class MetaClip: value = self.item.get(key) or self.item.json.get(key) if not value and hasattr(self.item.sort, key): value = getattr(self.item.sort, key) - j[key] = value + if value != None: + j[key] = value return j @classmethod