mirror of https://gitlab.com/bashrc2/epicyon
Only use index for bookmarks timeline
parent
ecb0b3b419
commit
3bb0ef5b27
5
posts.py
5
posts.py
|
@ -2117,9 +2117,9 @@ def createBoxBase(session,baseDir: str,boxname: str, \
|
|||
|
||||
indexFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/'+indexBoxName+'.index'
|
||||
lookedUpFromIndex=False
|
||||
postsCtr=0
|
||||
if os.path.isfile(indexFilename):
|
||||
print('DEBUG: using index file to construct timeline')
|
||||
postsCtr=0
|
||||
maxPostCtr=None
|
||||
if not pageNumber:
|
||||
minPageNumber=4
|
||||
|
@ -2135,10 +2135,11 @@ def createBoxBase(session,baseDir: str,boxname: str, \
|
|||
postsCtr+=1
|
||||
lookedUpFromIndex=True
|
||||
else:
|
||||
if boxname!='tlbookmarks':
|
||||
postsCtr=createBoxIndex(boxDir,postsInBoxDict)
|
||||
|
||||
# combine the inbox for the account with the shared inbox
|
||||
if sharedBoxDir and boxname!='tlbookmarks':
|
||||
if sharedBoxDir:
|
||||
postsCtr= \
|
||||
createSharedInboxIndex(baseDir,sharedBoxDir, \
|
||||
postsInBoxDict,postsCtr, \
|
||||
|
|
Loading…
Reference in New Issue