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:
|
if postPort!=80 and postPort!=443:
|
||||||
postDomain=postDomain+':'+str(postPort)
|
postDomain=postDomain+':'+str(postPort)
|
||||||
|
|
||||||
if postJsonObject.get('object'):
|
if postJsonObject.get('object'):
|
||||||
if isinstance(postJsonObject['object'], dict):
|
if isinstance(postJsonObject['object'], dict):
|
||||||
if postJsonObject['object'].get('content'):
|
if postJsonObject['object'].get('content'):
|
||||||
if isinstance(postJsonObject['object']['content'], str):
|
if isinstance(postJsonObject['object']['content'], str):
|
||||||
if isFiltered(baseDir,nickname,domain,postJsonObject['object']['content']):
|
if isFiltered(baseDir,nickname,domain,postJsonObject['object']['content']):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if postJsonObject.get('id'):
|
if postJsonObject.get('id'):
|
||||||
postId=postJsonObject['id'].replace('/activity','')
|
postId=postJsonObject['id'].replace('/activity','')
|
||||||
|
|
Loading…
Reference in New Issue