From 5d4a2707a956525d18d6ac14fb02ca02adfdfcaa Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 10 Nov 2010 11:41:09 +0000 Subject: [PATCH] Fix task to pull the correct user --- sso/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sso/tasks.py b/sso/tasks.py index e3d7b96..3202e05 100644 --- a/sso/tasks.py +++ b/sso/tasks.py @@ -16,6 +16,8 @@ signals.post_delete.connect(eveapi_deleted, sender=EVEAccount) def update_user_access(user): """ Process all corporate and alliance entries and correct access groups """ + user = User.objects.get(id=user) + # Create a list of all Corp and Alliance groups corpgroups = [] for corp in EVEPlayerCorporation.objects.filter(group__isnull=False):