forked from indymedia/epicyon
Check for no address
parent
494ef3f952
commit
bc3c19fd9c
4
posts.py
4
posts.py
|
@ -1342,6 +1342,8 @@ def sendToNamedAddresses(session,baseDir: str, \
|
|||
if debug:
|
||||
print('recipientsObject: '+str(recipientsObject[rType]))
|
||||
for address in recipientsObject[rType]:
|
||||
if not address:
|
||||
continue
|
||||
if '/' not in address:
|
||||
continue
|
||||
if address.endswith('#Public'):
|
||||
|
@ -1351,6 +1353,8 @@ def sendToNamedAddresses(session,baseDir: str, \
|
|||
recipients.append(address)
|
||||
elif isinstance(recipientsObject[rType], str):
|
||||
address=recipientsObject[rType]
|
||||
if address:
|
||||
if '/' in address:
|
||||
if address.endswith('#Public'):
|
||||
continue
|
||||
if address.endswith('/followers'):
|
||||
|
|
Loading…
Reference in New Issue