Browse Source

No condition

Bob Mottram 2 months ago
parent
commit
d693bb2e16
1 changed files with 3 additions and 2 deletions
  1. 3 2
      posts.py

+ 3 - 2
posts.py

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