forked from indymedia/epicyon
debug
parent
554dab222c
commit
8abcf9486d
|
@ -3217,9 +3217,9 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
|
|
||||||
publishedLink=messageId
|
publishedLink=messageId
|
||||||
# blog posts should have no /statuses/ in their link
|
# blog posts should have no /statuses/ in their link
|
||||||
print('Test isBlog '+str(postJsonObject))
|
|
||||||
if isBlogPost(postJsonObject):
|
if isBlogPost(postJsonObject):
|
||||||
print('Test messageId '+messageId)
|
print('Test messageId '+messageId)
|
||||||
|
print('Test domain '+domain)
|
||||||
# is this a post to the local domain?
|
# is this a post to the local domain?
|
||||||
if '://'+domain in messageId:
|
if '://'+domain in messageId:
|
||||||
publishedLink=messageId.replace('/statuses/','/')
|
publishedLink=messageId.replace('/statuses/','/')
|
||||||
|
|
Loading…
Reference in New Issue