From b82a60bf8ccdf0e01536fb5bfdd39cd6512f49ea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Oct 2019 10:49:26 +0100 Subject: [PATCH] Missing parameter --- posts.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/posts.py b/posts.py index 5a2b149dd..14d609882 100644 --- a/posts.py +++ b/posts.py @@ -1908,7 +1908,10 @@ def createBoxIndex(boxDir: str,postsInBoxDict: {}) -> int: postsCtr+=1 return postsCtr -def createSharedInboxIndex(baseDir: str,sharedBoxDir: str,postsInBoxDict: {},postsCtr: int,nickname: str,domain: str) -> int: +def createSharedInboxIndex(baseDir: str,sharedBoxDir: str, \ + postsInBoxDict: {},postsCtr: int, \ + nickname: str,domain: str, \ + ocapAlways: bool) -> int: """ Creates an index for the given shared inbox """ handle=nickname+'@'+domain @@ -2039,7 +2042,7 @@ def createBoxBase(session,baseDir: str,boxname: str, \ postsCtr= \ createSharedInboxIndex(baseDir,sharedBoxDir, \ postsInBoxDict,postsCtr, \ - nickname,domain) + nickname,domain,ocapAlways) # sort the list in descending order of date postsInBox=OrderedDict(sorted(postsInBoxDict.items(),reverse=True))