mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
ddeb492ac8
commit
20273b0c91
8
inbox.py
8
inbox.py
|
@ -1537,8 +1537,8 @@ def _receiveAnnounce(recentPostsCache: {},
|
||||||
manuallyApproveFollowers = \
|
manuallyApproveFollowers = \
|
||||||
followerApprovalActive(baseDir, nickname, domain)
|
followerApprovalActive(baseDir, nickname, domain)
|
||||||
notDM = True
|
notDM = True
|
||||||
# if debug:
|
if debug:
|
||||||
print('Generating html for announce ' + messageJson['id'])
|
print('Generating html for announce ' + messageJson['id'])
|
||||||
announceHtml = \
|
announceHtml = \
|
||||||
individualPostAsHtml(signingPrivateKeyPem, True,
|
individualPostAsHtml(signingPrivateKeyPem, True,
|
||||||
recentPostsCache, maxRecentPosts,
|
recentPostsCache, maxRecentPosts,
|
||||||
|
@ -1560,8 +1560,8 @@ def _receiveAnnounce(recentPostsCache: {},
|
||||||
print('WARN: Unable to generate html for announce ' +
|
print('WARN: Unable to generate html for announce ' +
|
||||||
str(messageJson))
|
str(messageJson))
|
||||||
else:
|
else:
|
||||||
# if debug:
|
if debug:
|
||||||
print('Generated announce html ' + announceHtml.replace('\n', ''))
|
print('Generated announce html ' + announceHtml.replace('\n', ''))
|
||||||
|
|
||||||
postJsonObject = downloadAnnounce(session, baseDir,
|
postJsonObject = downloadAnnounce(session, baseDir,
|
||||||
httpPrefix,
|
httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue