Reverse logic

main2
Bob Mottram 2019-09-18 20:05:08 +01:00
parent 2dcf6a9af1
commit d76c2b8b22
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ def storeFollowRequest(baseDir: str, \
# should this follow be denied?
denyFollowsFilename=accountsDir+'/followrejects.txt'
if os.path.isfile(denyFollowsFilename):
if approveHandle not in open(denyFollowsFilename).read():
if approveHandle in open(denyFollowsFilename).read():
return True
# add to a file which contains a list of requests