From 8586fa6f070ee6dd2b5c495c0b0b0bc190d7efff Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 18 Nov 2010 16:29:04 +0100 Subject: [PATCH] itemId --- oxdata/lookup/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oxdata/lookup/views.py b/oxdata/lookup/views.py index ed0759d..ce1bfbd 100644 --- a/oxdata/lookup/views.py +++ b/oxdata/lookup/views.py @@ -11,8 +11,8 @@ import models def get_movie_id(request): movie_id = None - if 'movieId' in request.GET: - movieId = request.GET['movieId'] + if 'itemId' in request.GET: + movieId = request.GET['itemId'] if len(movieId) == 7: movie_id = models.getMovieIdByImdbId(imdb_id=movieId) else: