mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
ddeb492ac8
commit
20273b0c91
4
inbox.py
4
inbox.py
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue