mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
7731b0d56a
commit
13f53414b4
12
inbox.py
12
inbox.py
|
@ -179,12 +179,12 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str,nickname: str, domain: str
|
|||
if postPort!=80 and postPort!=443:
|
||||
postDomain=postDomain+':'+str(postPort)
|
||||
|
||||
if postJsonObject.get('object'):
|
||||
if isinstance(postJsonObject['object'], dict):
|
||||
if postJsonObject['object'].get('content'):
|
||||
if isinstance(postJsonObject['object']['content'], str):
|
||||
if isFiltered(baseDir,nickname,domain,postJsonObject['object']['content']):
|
||||
return None
|
||||
if postJsonObject.get('object'):
|
||||
if isinstance(postJsonObject['object'], dict):
|
||||
if postJsonObject['object'].get('content'):
|
||||
if isinstance(postJsonObject['object']['content'], str):
|
||||
if isFiltered(baseDir,nickname,domain,postJsonObject['object']['content']):
|
||||
return None
|
||||
|
||||
if postJsonObject.get('id'):
|
||||
postId=postJsonObject['id'].replace('/activity','')
|
||||
|
|
Loading…
Reference in New Issue