mirror of https://gitlab.com/bashrc2/epicyon
No condition
parent
4d249faa9c
commit
d693bb2e16
5
posts.py
5
posts.py
|
@ -2390,9 +2390,10 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
|
||||||
fullPostFilename= \
|
fullPostFilename= \
|
||||||
locatePost(baseDir,nickname,domain,postUrl,False)
|
locatePost(baseDir,nickname,domain,postUrl,False)
|
||||||
if fullPostFilename:
|
if fullPostFilename:
|
||||||
if not isTimelinePost(fullPostFilename,boxname,postsInBox):
|
isTimelinePost(fullPostFilename,boxname,postsInBox):
|
||||||
continue
|
|
||||||
postsCtr+=1
|
postsCtr+=1
|
||||||
|
else:
|
||||||
|
print('WARN: unable to locate post '+postUrl)
|
||||||
|
|
||||||
# Generate first and last entries within header
|
# Generate first and last entries within header
|
||||||
if postsCtr>0:
|
if postsCtr>0:
|
||||||
|
|
Loading…
Reference in New Issue