From 7731b0d56abba053bce3db2308328d16adc15592 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Aug 2019 22:26:31 +0100 Subject: [PATCH] Logic sequence --- posts.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/posts.py b/posts.py index c9ac2020..125a4303 100644 --- a/posts.py +++ b/posts.py @@ -996,13 +996,14 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \ if sharedInbox and sharedInboxUrl: inboxUrl=sharedInboxUrl - if debug: - print('DEBUG: Sending to endpoint '+inboxUrl) - if not inboxUrl: if debug: print('DEBUG: missing inboxUrl') return 3 + + if debug: + print('DEBUG: Sending to endpoint '+inboxUrl) + if not pubKey: if debug: print('DEBUG: missing pubkey')