master
Bob Mottram 2019-08-08 09:44:37 +01:00
parent bc8f671eb1
commit 21ed27209a
1 changed files with 4 additions and 2 deletions

View File

@ -358,8 +358,10 @@ def savePostToBox(baseDir: str,httpPrefix: str,postId: str, \
if not postId: if not postId:
statusNumber,published = getStatusNumber() statusNumber,published = getStatusNumber()
postId=httpPrefix+'://'+originalDomain+'/users/'+ \ print('*****originalDomain: '+str(originalDomain))
nickname+'/statuses/'+statusNumber print('*****nickname: '+str(nickname))
print('*****statusNumber: '+str(statusNumber))
postId=httpPrefix+'://'+originalDomain+'/users/'+nickname+'/statuses/'+statusNumber
postJsonObject['id']=postId+'/activity' postJsonObject['id']=postId+'/activity'
if postJsonObject.get('object'): if postJsonObject.get('object'):
if isinstance(postJsonObject['object'], dict): if isinstance(postJsonObject['object'], dict):