Fix bug where removed followers were shown again in the place of removed followings.

main
Jesús Pérez Rey (Chuso) 2024-03-09 22:17:50 +01:00
parent dad39c8dec
commit ecfea8acec
No known key found for this signature in database
GPG Key ID: 0E663E0721D67C24
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ if args.update_cache:
new_followers = [u for u in followers if u['id'] not in {o['id'] for o in old_followers}]
new_followings = [u for u in followings if u['id'] not in {o['id'] for o in old_followings}]
removed_followers = [u for u in old_followers if u['id'] not in {o['id'] for o in followers}]
removed_followings = [u for u in old_followers if u['id'] not in {o['id'] for o in followers}]
removed_followings = [u for u in old_followings if u['id'] not in {o['id'] for o in followings}]
print_users_diff("New followers:", new_followers)
print_users_diff("New followings:", new_followings)