Set the data, add to crontab list

This commit is contained in:
2010-10-29 17:24:42 +01:00
parent 51c2675157
commit ed45e4abac
2 changed files with 2 additions and 1 deletions

View File

@@ -101,6 +101,6 @@ class CorporationUpdate():
return self.__logger
def job(self, args):
for corp in EVEPlayerCorporation.objects.filter(eveplayercharacter__in=EVEPlayerCharacter.objects.all()):
for corp in set(EVEPlayerCorporation.objects.filter(eveplayercharacter__in=EVEPlayerCharacter.objects.all())):
print corp
corp.query_and_update_corp()