merge-requests/30/head
Bob Mottram 2021-09-04 19:05:52 +01:00
parent ddeb492ac8
commit 20273b0c91
1 changed files with 4 additions and 4 deletions

View File

@ -1537,7 +1537,7 @@ def _receiveAnnounce(recentPostsCache: {},
manuallyApproveFollowers = \
followerApprovalActive(baseDir, nickname, domain)
notDM = True
# if debug:
if debug:
print('Generating html for announce ' + messageJson['id'])
announceHtml = \
individualPostAsHtml(signingPrivateKeyPem, True,
@ -1560,7 +1560,7 @@ def _receiveAnnounce(recentPostsCache: {},
print('WARN: Unable to generate html for announce ' +
str(messageJson))
else:
# if debug:
if debug:
print('Generated announce html ' + announceHtml.replace('\n', ''))
postJsonObject = downloadAnnounce(session, baseDir,