From 554dab222c4165183625c100f5f2e7eccf7efa09 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 14:24:09 +0000 Subject: [PATCH] debug --- webinterface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index db3ff7c5..9196395e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3217,9 +3217,11 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ publishedLink=messageId # blog posts should have no /statuses/ in their link + print('Test isBlog '+str(postJsonObject)) if isBlogPost(postJsonObject): + print('Test messageId '+messageId) # is this a post to the local domain? - if '/'+domain in messageId: + if '://'+domain in messageId: publishedLink=messageId.replace('/statuses/','/') footerStr=''+publishedStr+'\n'