mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 18:59:53 +00:00
Reverse logic
This commit is contained in:
1 parent
2dcf6a9af1
commit
d76c2b8b22
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user