forked from indymedia/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?
|
# if this post in the shared inbox?
|
||||||
handle='inbox@'+domain
|
handle='inbox@'+domain
|
||||||
boxName='inbox'
|
boxName='inbox'
|
||||||
postUrl=postUrl.replace('/','#')
|
postUrl=postUrl.replace('/','#').replace('/activity','')
|
||||||
postFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/'+boxName+'/'+postUrl+'.'+extension
|
postFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/'+boxName+'/'+postUrl+'.'+extension
|
||||||
if not os.path.isfile(postFilename):
|
if not os.path.isfile(postFilename):
|
||||||
boxName='outbox'
|
boxName='outbox'
|
||||||
|
|
Loading…
Reference in New Issue