Extra print

master
Bob Mottram 2019-08-31 15:42:35 +01:00
parent da242f5c91
commit 6667e94021
1 changed files with 4 additions and 0 deletions

View File

@ -278,6 +278,8 @@ def followApprovalRequired(baseDir: str,nicknameToFollow: str, \
""" Returns the policy for follower approvals
"""
manuallyApproveFollows=False
if ':' in domainToFollow:
domainToFollow=domainToFollow.split(':')[0]
actorFilename=baseDir+'/accounts/'+nicknameToFollow+'@'+domainToFollow+'.json'
if os.path.isfile(actorFilename):
with open(actorFilename, 'r') as fp:
@ -424,6 +426,8 @@ def receiveFollowRequest(session,baseDir: str,httpPrefix: str, \
nicknameToFollow,domainToFollow,port, \
nickname,domain,fromPort,
messageJson,debug)
else:
print('******** Follow request does not require approval')
print('Beginning follow accept')
return followedAccountAccepts(session,baseDir,httpPrefix, \