From 365b544d874003fa137a04fbdf1456675e37d870 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 19 Jul 2019 21:08:02 +0100 Subject: [PATCH] Sequence --- follow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/follow.py b/follow.py index 08d806cf..46f2094d 100644 --- a/follow.py +++ b/follow.py @@ -334,9 +334,9 @@ def receiveFollowRequest(session,baseDir: str,httpPrefix: str, \ # what is the followers policy? if followApprovalRequired(baseDir,nicknameToFollow, \ domainToFollow,debug): - approveHandle=nicknameToFollow+'@'+domainToFollow+':'+str(port) accountsDir=baseDir+'/accounts/'+nicknameToFollow+'@'+domainToFollow if os.path.isdir(accountDir): + approveHandle=nicknameToFollow+'@'+domainToFollow+':'+str(port) approveFollowsFilename=accountDir+'/followrequests.txt' if os.path.isfile(approveFollowsFilename): if approveHandle not in open(approveFollowsFilename).read():