Fixed some selects missed since the director roles selection changes

This commit is contained in:
2011-03-16 08:46:19 +00:00
parent 86ffca1781
commit f169942c74
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ class Command(NoArgsCommand):
help = "Extracts a list of director's full API keys in CSV format for uploading to EDK"
def handle_noargs(self, **options):
chars = EVEPlayerCharacter.objects.filter(director=True, eveaccount__api_keytype=API_KEYTYPE_FULL, eveaccount__api_status=API_STATUS_OK)
chars = EVEPlayerCharacter.objects.filter(roles__name='roleDirector', eveaccount__api_keytype=API_KEYTYPE_FULL, eveaccount__api_status=API_STATUS_OK)
donekeys = []
i = 0