forked from indymedia/epicyon
Use post content
parent
077709f180
commit
e97e223ecb
4
posts.py
4
posts.py
|
@ -2296,7 +2296,7 @@ def isTimelinePost(filePath: str,boxname: str,postsInBox: []) -> bool:
|
||||||
if 'mediaType' not in postStr or 'image/' not in postStr:
|
if 'mediaType' not in postStr or 'image/' not in postStr:
|
||||||
return False
|
return False
|
||||||
# add the post to the dictionary
|
# add the post to the dictionary
|
||||||
postsInBox.append(filePath)
|
postsInBox.append(postStr)
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@ -2433,8 +2433,6 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
|
||||||
if p['object'].get('bookmarks'):
|
if p['object'].get('bookmarks'):
|
||||||
p['bookmarks']={}
|
p['bookmarks']={}
|
||||||
|
|
||||||
# insert it into the box feed
|
|
||||||
if not headerOnly:
|
|
||||||
boxItems['orderedItems'].append(p)
|
boxItems['orderedItems'].append(p)
|
||||||
|
|
||||||
return boxItems
|
return boxItems
|
||||||
|
|
Loading…
Reference in New Issue