mirror of https://gitlab.com/bashrc2/epicyon
Debug if html could not be generated for announce
parent
cffc8089c8
commit
ce5c50f544
5
inbox.py
5
inbox.py
|
@ -1611,6 +1611,7 @@ def _receiveAnnounce(recentPostsCache: {},
|
|||
manuallyApproveFollowers = \
|
||||
followerApprovalActive(baseDir, nickname, domain)
|
||||
notDM = True
|
||||
if debug:
|
||||
print('Generating html for announce ' + postJsonObject['id'])
|
||||
announceHtml = \
|
||||
individualPostAsHtml(signingPrivateKeyPem, True,
|
||||
|
@ -1629,7 +1630,9 @@ def _receiveAnnounce(recentPostsCache: {},
|
|||
showIndividualPostIcons,
|
||||
manuallyApproveFollowers,
|
||||
False, True, False)
|
||||
print('Generating html for announce ' + str(announceHtml))
|
||||
if not announceHtml:
|
||||
print('WARN: Unable to generate html for announce ' +
|
||||
postJsonObject['id'])
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue