From f8efb37c6e9f916d2bf83ed89157ec2481e4fe13 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Aug 2019 13:06:08 +0100 Subject: [PATCH] Continue even if file exists --- inbox.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inbox.py b/inbox.py index fb5df0406..4d3c20137 100644 --- a/inbox.py +++ b/inbox.py @@ -229,11 +229,11 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str, \ handle=nickname+'@'+domain destination=baseDir+'/accounts/'+handle+'/inbox/'+postId.replace('/','#')+'.json' - if os.path.isfile(destination): - if debug: - print(destination) - print('DEBUG: inbox item already exists') - return None + #if os.path.isfile(destination): + # if debug: + # print(destination) + # print('DEBUG: inbox item already exists') + # return None filename=inboxQueueDir+'/'+postId.replace('/','#')+'.json' sharedInboxItem=False