dont add None, null clip results, fixes #1425

This commit is contained in:
j 2013-07-10 14:29:23 +00:00
parent 3744589ac5
commit 056fdb706f

View file

@ -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