forked from 0x2620/pandora
dont add None, null clip results, fixes #1425
This commit is contained in:
parent
3744589ac5
commit
056fdb706f
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ class MetaClip:
|
||||||
value = self.item.get(key) or self.item.json.get(key)
|
value = self.item.get(key) or self.item.json.get(key)
|
||||||
if not value and hasattr(self.item.sort, key):
|
if not value and hasattr(self.item.sort, key):
|
||||||
value = getattr(self.item.sort, key)
|
value = getattr(self.item.sort, key)
|
||||||
j[key] = value
|
if value != None:
|
||||||
|
j[key] = value
|
||||||
return j
|
return j
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue