Remove any trailing activity

main
Bob Mottram 2019-11-18 10:18:59 +00:00
parent e1abfed010
commit eacef272d3
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ def locatePost(baseDir: str,nickname: str,domain: str,postUrl: str,replies=False
# if this post in the shared inbox?
handle='inbox@'+domain
boxName='inbox'
postUrl=postUrl.replace('/','#')
postUrl=postUrl.replace('/','#').replace('/activity','')
postFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/'+boxName+'/'+postUrl+'.'+extension
if not os.path.isfile(postFilename):
boxName='outbox'