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:
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')