mirror of https://gitlab.com/bashrc2/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:
|
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):
|
||||||
|
|
Loading…
Reference in New Issue