Call subtasks correctly

This commit is contained in:
2011-01-05 09:36:41 +00:00
parent 4d01d20f1d
commit 8c39e92d85
2 changed files with 3 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ def import_eve_character(character_id, api_key=None, user_id=None, callback=None
try:
acc = EVEAccount.objects.get(api_user_id=user_id)
if not char in acc.characters.all():
if not pchar in acc.characters.all():
acc.characters.add(pchar)
if pchar.director and acc.api_keytype == API_KEYTYPE_FULL: