mirror of https://gitlab.com/bashrc2/epicyon
Continue even if file exists
parent
8d4d09f047
commit
f8efb37c6e
10
inbox.py
10
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
|
||||
|
|
Loading…
Reference in New Issue