mirror of https://gitlab.com/bashrc2/epicyon
Check that orderedItems appears in timeline json
parent
9b7add2f24
commit
0923146298
|
@ -737,6 +737,11 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
|
|
||||||
# show the posts
|
# show the posts
|
||||||
itemCtr = 0
|
itemCtr = 0
|
||||||
|
if timelineJson:
|
||||||
|
if not timelineJson.get('orderedItems'):
|
||||||
|
print('ERROR: no orderedItems in timeline for ' + boxName:)
|
||||||
|
return ''
|
||||||
|
|
||||||
if timelineJson:
|
if timelineJson:
|
||||||
# if this is the media timeline then add an extra gallery container
|
# if this is the media timeline then add an extra gallery container
|
||||||
if boxName == 'tlmedia':
|
if boxName == 'tlmedia':
|
||||||
|
|
Loading…
Reference in New Issue