From 6f5b12329d14325e0516daa2aaf13238dc7f68b5 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 28 Sep 2011 09:40:48 +0100 Subject: [PATCH] If its a unknown keytype and CAK is enabled, assume its CAK --- app/eve_api/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/eve_api/models/account.py b/app/eve_api/models/account.py index cddc99f..cc1aa0c 100644 --- a/app/eve_api/models/account.py +++ b/app/eve_api/models/account.py @@ -70,7 +70,7 @@ class EVEAccount(EVEAPIModel): @property def is_cak(self): - return self.api_keytype in [API_KEYTYPE_CHARACTER, API_KEYTYPE_CORPORATION, API_KEYTYPE_ACCOUNT] + return self.api_keytype in [API_KEYTYPE_UNKNOWN, API_KEYTYPE_CHARACTER, API_KEYTYPE_CORPORATION, API_KEYTYPE_ACCOUNT] class Meta: app_label = 'eve_api'