mirror of https://gitlab.com/bashrc2/epicyon
Remove any trailing activity
parent
e1abfed010
commit
eacef272d3
2
utils.py
2
utils.py
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue