mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Handling deleted users when deleting spam accounts.
This commit is contained in:
parent
2c7d564f37
commit
14a1e8ab0b
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Profile(models.Model):
|
|||
follower_profile = MSocialProfile.objects.get(user_id=follower)
|
||||
follower_profile.unfollow_user(self.user.pk)
|
||||
social_profile.delete()
|
||||
except MSocialProfile.DoesNotExist:
|
||||
except (MSocialProfile.DoesNotExist, IndexError):
|
||||
logging.user(self.user, " ***> No social profile found. S'ok, moving on.")
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue