forked from indymedia/epicyon
Comment out debug
parent
342d6a3bd6
commit
ae150ca710
2
posts.py
2
posts.py
|
@ -2176,7 +2176,7 @@ def createBoxIndexed(recentPostsCache: {}, \
|
||||||
if recentPostsCache['json'].get(postUrl):
|
if recentPostsCache['json'].get(postUrl):
|
||||||
addPostStringToTimeline(recentPostsCache['json'][postUrl], \
|
addPostStringToTimeline(recentPostsCache['json'][postUrl], \
|
||||||
boxname,postsInBox,boxActor)
|
boxname,postsInBox,boxActor)
|
||||||
print('Json post added to timeline from cache: '+postUrl)
|
#print('Json post added to timeline from cache: '+postUrl)
|
||||||
postAdded=True
|
postAdded=True
|
||||||
|
|
||||||
if not postAdded:
|
if not postAdded:
|
||||||
|
|
|
@ -2588,7 +2588,7 @@ def htmlTimeline(recentPostsCache: {}, \
|
||||||
currTlStr=recentPostsCache['html'][postId]
|
currTlStr=recentPostsCache['html'][postId]
|
||||||
currTlStr= \
|
currTlStr= \
|
||||||
preparePostFromHtmlCache(currTlStr,boxName,pageNumber)
|
preparePostFromHtmlCache(currTlStr,boxName,pageNumber)
|
||||||
print('Post obtained from recent cache ('+str(len(recentPostsCache['index']))+'): '+postId)
|
#print('Post obtained from recent cache ('+str(len(recentPostsCache['index']))+'): '+postId)
|
||||||
if not currTlStr:
|
if not currTlStr:
|
||||||
currTlStr= \
|
currTlStr= \
|
||||||
individualPostAsHtml(iconsDir,translate,pageNumber, \
|
individualPostAsHtml(iconsDir,translate,pageNumber, \
|
||||||
|
|
Loading…
Reference in New Issue