forked from indymedia/epicyon
Tidying
parent
419b5746c7
commit
da30508d67
|
@ -134,7 +134,7 @@ def isBlocked(baseDir: str,nickname: str,domain: str, \
|
|||
if os.path.isfile(globalBlockingFilename):
|
||||
if '*@'+blockDomain in open(globalBlockingFilename).read():
|
||||
return True
|
||||
if blockNickname and blockDomain:
|
||||
if blockNickname:
|
||||
blockHandle=blockNickname+'@'+blockDomain
|
||||
if blockHandle in open(globalBlockingFilename).read():
|
||||
return True
|
||||
|
@ -148,7 +148,7 @@ def isBlocked(baseDir: str,nickname: str,domain: str, \
|
|||
if os.path.isfile(blockingFilename):
|
||||
if '*@'+blockDomain in open(blockingFilename).read():
|
||||
return True
|
||||
if blockNickname and blockDomain:
|
||||
if blockNickname:
|
||||
blockHandle=blockNickname+'@'+blockDomain
|
||||
if blockHandle in open(blockingFilename).read():
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue