From acb1cb9aa83101f6ccf82339cfdbb3b90bc11b88 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 30 Jun 2010 15:13:55 +0100 Subject: [PATCH] Some small fixes for the OpTimer API call --- api/handlers.py | 2 +- settings.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/handlers.py b/api/handlers.py index 674054c..52e7dd3 100755 --- a/api/handlers.py +++ b/api/handlers.py @@ -120,7 +120,7 @@ class OpTimerHandler(BaseHandler): allowed_methods = ('GET') def read(self, request, id=None): - obj = get_object_or_404(EVEAccount, user=FULL_API_USER_ID) + obj = get_object_or_404(EVEAccount, id=FULL_API_USER_ID) params = {'userID':obj.id,'apiKey':obj.api_key,'characterID':FULL_API_CHARACTER_ID} diff --git a/settings.py b/settings.py index 69fc496..b03c05a 100755 --- a/settings.py +++ b/settings.py @@ -123,8 +123,8 @@ REDDIT_PASSWD = '' HR_STAFF_GROUP = 'HR Staff' -FULL_API_USER_ID = 1 -FULL_API_CHARACTER_ID = 217608501 +FULL_API_USER_ID = 415631 +FULL_API_CHARACTER_ID = 246102445 # try and import local settings try: