No condition

merge-requests/6/head
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= \
locatePost(baseDir,nickname,domain,postUrl,False)
if fullPostFilename:
if not isTimelinePost(fullPostFilename,boxname,postsInBox):
continue
isTimelinePost(fullPostFilename,boxname,postsInBox):
postsCtr+=1
else:
print('WARN: unable to locate post '+postUrl)
# Generate first and last entries within header
if postsCtr>0: