Fix a few asumptions not fixed in the last commit

This commit is contained in:
2011-05-19 16:13:17 +01:00
parent d1afc15fc0
commit fe95eb2d21
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ class EVEAccount(EVEAPIModel):
help_text="Type of API key")
def __unicode__(self):
return u"%s" % self.id
return u"%s" % self.pk
def in_corp(self, corpid):
return self.character.filter(corporation__id=corpid).count()