Exit earlier

main2
Bob Mottram 2019-10-20 10:51:32 +01:00
parent b82a60bf8c
commit 71f2b04bfc
1 changed files with 3 additions and 1 deletions

View File

@ -1944,8 +1944,10 @@ def createSharedInboxIndex(baseDir: str,sharedBoxDir: str, \
continue continue
actorNickname=getNicknameFromActor(postJsonObject['actor']) actorNickname=getNicknameFromActor(postJsonObject['actor'])
if not actorNickname:
continue
actorDomain,actorPort=getDomainFromActor(postJsonObject['actor']) actorDomain,actorPort=getDomainFromActor(postJsonObject['actor'])
if not (actorNickname and actorDomain): if not actorDomain:
continue continue
# is the actor followed by this account? # is the actor followed by this account?