From 35e44c1041e02ac509113e2253d4fee97143c41f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 25 Oct 2011 00:39:32 +0200 Subject: [PATCH] update on request --- oxdata/movie/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index 321822e..651f416 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -25,7 +25,9 @@ def find(info, guess=True): else: q = q.filter(**{fkey:info[key]}) if q.count() == 1: - return q[0] + m = q[0] + m.update() + return m #For now fallback to ox.web.imdb.guess and try again if guess: id = ox.web.imdb.getMovieId(info['title'])