Check for none

This commit is contained in:
bashrc committed 2019-09-16 14:06:38 +01:00
1 parent 0d51133942
commit f0fb417df3
1 file changed
+3 -2
+3 -2
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: