mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
1761c24bed
commit
0ec2c45b50
3
posts.py
3
posts.py
|
@ -862,8 +862,7 @@ def _getPostsForBlockedDomains(baseDir: str,
|
|||
if not tagItem.get('type'):
|
||||
continue
|
||||
tagType = tagItem['type'].lower()
|
||||
if tagType == 'mention':
|
||||
if tagItem.get('href'):
|
||||
if tagType == 'mention' and tagItem.get('href'):
|
||||
postDomain, postPort = \
|
||||
getDomainFromActor(tagItem['href'])
|
||||
if isBlockedDomain(baseDir, postDomain):
|
||||
|
|
Loading…
Reference in New Issue