kopia lustrzana https://gitlab.com/marnanel/chapeau
Home timeline can't have Nones in it
rodzic
560eed7b40
commit
c4a07a9e52
|
@ -354,7 +354,10 @@ class HomeTimeline(AbstractTimeline):
|
|||
if item.f_type in [
|
||||
'Create',
|
||||
]:
|
||||
result.append(item['object__obj'])
|
||||
product = item['object__obj']
|
||||
|
||||
if product is not None:
|
||||
result.append(product)
|
||||
|
||||
return result
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue