mirror of https://gitlab.com/bashrc2/epicyon
Increment counter anyway
parent
abd62d4d6e
commit
026ef6e194
3
posts.py
3
posts.py
|
@ -2382,6 +2382,7 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not postFilename:
|
if not postFilename:
|
||||||
|
postsCtr+=1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# if this is a full path then remove the directories
|
# if this is a full path then remove the directories
|
||||||
|
@ -2395,9 +2396,9 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
|
||||||
locatePost(baseDir,nickname,domain,postUrl,False)
|
locatePost(baseDir,nickname,domain,postUrl,False)
|
||||||
if fullPostFilename:
|
if fullPostFilename:
|
||||||
addPostToTimeline(fullPostFilename,boxname,postsInBox,boxActor)
|
addPostToTimeline(fullPostFilename,boxname,postsInBox,boxActor)
|
||||||
postsCtr+=1
|
|
||||||
else:
|
else:
|
||||||
print('WARN: unable to locate post '+postUrl)
|
print('WARN: unable to locate post '+postUrl)
|
||||||
|
postsCtr+=1
|
||||||
|
|
||||||
# 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