From 4dbf07031ae152c0ea1be67b757f53ea7da2f0cb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Aug 2019 21:08:23 +0100 Subject: [PATCH] Tidying --- posts.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/posts.py b/posts.py index 73faa4d7..359c95f7 100644 --- a/posts.py +++ b/posts.py @@ -1069,16 +1069,13 @@ def sendToNamedAddresses(session,baseDir: str, \ return if not postJsonObject.get('object'): return - toList=[] if isinstance(postJsonObject['object'], dict): if not postJsonObject['object'].get('to'): return - toList=postJsonObject['object']['to'] recipientsObject=postJsonObject['object'] else: if not postJsonObject.get('to'): return - toList=postJsonObject['to'] recipientsObject=postJsonObject recipients=[]