Check for none

main2
Bob Mottram 2019-09-16 14:06:38 +01:00
parent 0d51133942
commit f0fb417df3
1 changed files with 3 additions and 2 deletions

View File

@ -1236,8 +1236,9 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
print("inboxUrl: "+str(inboxUrl))
print("toPersonId: "+str(toPersonId))
print("sharedInboxUrl: "+str(sharedInboxUrl))
if inboxUrl.endswith('/actor/inbox'):
inboxUrl=sharedInboxUrl
if inboxUrl:
if inboxUrl.endswith('/actor/inbox'):
inboxUrl=sharedInboxUrl
if not inboxUrl:
if debug: