forked from indymedia/epicyon
Debug
parent
bc8f671eb1
commit
21ed27209a
6
posts.py
6
posts.py
|
@ -358,8 +358,10 @@ def savePostToBox(baseDir: str,httpPrefix: str,postId: str, \
|
|||
|
||||
if not postId:
|
||||
statusNumber,published = getStatusNumber()
|
||||
postId=httpPrefix+'://'+originalDomain+'/users/'+ \
|
||||
nickname+'/statuses/'+statusNumber
|
||||
print('*****originalDomain: '+str(originalDomain))
|
||||
print('*****nickname: '+str(nickname))
|
||||
print('*****statusNumber: '+str(statusNumber))
|
||||
postId=httpPrefix+'://'+originalDomain+'/users/'+nickname+'/statuses/'+statusNumber
|
||||
postJsonObject['id']=postId+'/activity'
|
||||
if postJsonObject.get('object'):
|
||||
if isinstance(postJsonObject['object'], dict):
|
||||
|
|
Loading…
Reference in New Issue