Logic sequence

master
Bob Mottram 2019-08-04 22:26:31 +01:00
parent 54ebf29e45
commit 7731b0d56a
1 changed files with 4 additions and 3 deletions

View File

@ -996,13 +996,14 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
if sharedInbox and sharedInboxUrl: if sharedInbox and sharedInboxUrl:
inboxUrl=sharedInboxUrl inboxUrl=sharedInboxUrl
if debug:
print('DEBUG: Sending to endpoint '+inboxUrl)
if not inboxUrl: if not inboxUrl:
if debug: if debug:
print('DEBUG: missing inboxUrl') print('DEBUG: missing inboxUrl')
return 3 return 3
if debug:
print('DEBUG: Sending to endpoint '+inboxUrl)
if not pubKey: if not pubKey:
if debug: if debug:
print('DEBUG: missing pubkey') print('DEBUG: missing pubkey')