From 34e811f87d614a2c25e8e6b2160377eacda52220 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 17 May 2020 12:16:40 +0000 Subject: [PATCH] Tidying --- posts.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/posts.py b/posts.py index ac9bdabf3..43d67ff2e 100644 --- a/posts.py +++ b/posts.py @@ -1645,7 +1645,7 @@ def sendSignedJson(postJsonObject: {}, session, baseDir: str, handle = handleBase + toNickname else: singleUserInstanceNickname = 'dev' - handle = handleBase+singleUserInstanceNickname + handle = handleBase + singleUserInstanceNickname if debug: print('DEBUG: handle - ' + handle + ' toPort ' + str(toPort)) @@ -1669,13 +1669,12 @@ def sendSignedJson(postJsonObject: {}, session, baseDir: str, postToBox = 'outbox' # get the actor inbox/outbox/capabilities for the To handle - (inboxUrl, pubKeyId, pubKey, - toPersonId, sharedInboxUrl, - capabilityAcquisition, - avatarUrl, displayName) = getPersonBox(baseDir, session, wfRequest, - personCache, - projectVersion, httpPrefix, - nickname, domain, postToBox) + (inboxUrl, pubKeyId, pubKey, toPersonId, sharedInboxUrl, + capabilityAcquisition, avatarUrl, + displayName) = getPersonBox(baseDir, session, wfRequest, + personCache, + projectVersion, httpPrefix, + nickname, domain, postToBox) if nickname == 'capabilities': inboxUrl = capabilityAcquisition