No condition

main
Bob Mottram 2019-11-18 12:49:41 +00:00
parent 4d249faa9c
commit d693bb2e16
1 changed files with 3 additions and 2 deletions

View File

@ -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: