mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Tidying
This commit is contained in:
1 parent
ac67db1679
commit
08f62aa32c
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ def addGlobalBlock(baseDir: str,
|
||||
blockingFilename = baseDir + '/accounts/blocking.txt'
|
||||
if not blockNickname.startswith('#'):
|
||||
# is the handle already blocked?
|
||||
blockHandle = blockNickname + '@' + blockDomain
|
||||
blockHandle = blockNickname + '@' + blockDomain
|
||||
if os.path.isfile(blockingFilename):
|
||||
if blockHandle in open(blockingFilename).read():
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user