mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
9772c0116f
commit
4dbf07031a
3
posts.py
3
posts.py
|
@ -1069,16 +1069,13 @@ def sendToNamedAddresses(session,baseDir: str, \
|
||||||
return
|
return
|
||||||
if not postJsonObject.get('object'):
|
if not postJsonObject.get('object'):
|
||||||
return
|
return
|
||||||
toList=[]
|
|
||||||
if isinstance(postJsonObject['object'], dict):
|
if isinstance(postJsonObject['object'], dict):
|
||||||
if not postJsonObject['object'].get('to'):
|
if not postJsonObject['object'].get('to'):
|
||||||
return
|
return
|
||||||
toList=postJsonObject['object']['to']
|
|
||||||
recipientsObject=postJsonObject['object']
|
recipientsObject=postJsonObject['object']
|
||||||
else:
|
else:
|
||||||
if not postJsonObject.get('to'):
|
if not postJsonObject.get('to'):
|
||||||
return
|
return
|
||||||
toList=postJsonObject['to']
|
|
||||||
recipientsObject=postJsonObject
|
recipientsObject=postJsonObject
|
||||||
|
|
||||||
recipients=[]
|
recipients=[]
|
||||||
|
|
Loading…
Reference in New Issue