Deduplicate

main
Bob Mottram 2021-01-10 23:29:03 +00:00
parent 19b5ab8b99
commit a19a318f9f
1 changed files with 3 additions and 1 deletions

View File

@ -3399,7 +3399,9 @@ def downloadFollowersCollection(session, httpPrefix,
httpPrefix, None)
if followersJson:
if followersJson.get('orderedItems'):
result += followersJson['orderedItems']
for followerActor in followersJson['orderedItems']:
if followerActor not in result:
result.append(followerActor)
else:
break
else: