Check that actor is returned before showing posts

main
Bob Mottram 2021-09-13 15:02:11 +01:00
parent 851c66f38c
commit 58f4840dd9
1 changed files with 3 additions and 1 deletions

View File

@ -3912,7 +3912,9 @@ def getPublicPostsOfPerson(baseDir: str, nickname: str, domain: str,
nickname, domain, 'outbox',
62524)
if debug:
print('Actor url: ' + personId)
print('Actor url: ' + str(personId))
if not personId:
return
maxMentions = 10
maxEmoji = 10