forked from indymedia/epicyon
Reverse logic
parent
2dcf6a9af1
commit
d76c2b8b22
|
@ -360,7 +360,7 @@ def storeFollowRequest(baseDir: str, \
|
||||||
# should this follow be denied?
|
# should this follow be denied?
|
||||||
denyFollowsFilename=accountsDir+'/followrejects.txt'
|
denyFollowsFilename=accountsDir+'/followrejects.txt'
|
||||||
if os.path.isfile(denyFollowsFilename):
|
if os.path.isfile(denyFollowsFilename):
|
||||||
if approveHandle not in open(denyFollowsFilename).read():
|
if approveHandle in open(denyFollowsFilename).read():
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# add to a file which contains a list of requests
|
# add to a file which contains a list of requests
|
||||||
|
|
Loading…
Reference in New Issue