From d71667c03dd5e6e6cd2020f54592203b0576bc48 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 14 Aug 2012 22:54:19 +0100 Subject: [PATCH] Fix Optimer endpoint --- app/api/handlers/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/handlers/oauth.py b/app/api/handlers/oauth.py index 9af2e02..306ae3d 100644 --- a/app/api/handlers/oauth.py +++ b/app/api/handlers/oauth.py @@ -37,7 +37,7 @@ class OAuthOpTimerHandler(BaseHandler): def read(self, request, id=None): try: - obj = EVEAccount.object.get(pk=settings.FULL_API_USER_ID) + obj = EVEAccount.objects.get(pk=settings.FULL_API_USER_ID) except EVEAccount.DoesNotExist: return {'ops':[{ 'startsIn': -1,