From 13f53414b4235c2f44786df2c509e0d8ba87dd72 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Aug 2019 10:28:12 +0100 Subject: [PATCH] Indentation --- inbox.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inbox.py b/inbox.py index 60fb07fb..cc1ea526 100644 --- a/inbox.py +++ b/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','')