From 8314aa517805b16852b19d910fbfbe314026f3e2 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 11 Oct 2011 09:27:23 +0100 Subject: [PATCH] Added the code for legacy key expiry --- app/eve_api/tasks/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/eve_api/tasks/account.py b/app/eve_api/tasks/account.py index 0c1d0a4..30a5d72 100644 --- a/app/eve_api/tasks/account.py +++ b/app/eve_api/tasks/account.py @@ -204,7 +204,7 @@ def import_apikey_func(api_userid, api_key, user=None, force_cache=False, log=lo return elif error in ['202', '203', '204', '205', '212']: account.api_status = API_STATUS_AUTH_ERROR - elif error == '211': + elif error in ['211', '223']: account.api_status = API_STATUS_ACC_EXPIRED else: account.api_status = API_STATUS_OTHER_ERROR