update on request

This commit is contained in:
j 2011-10-25 00:39:32 +02:00
parent 767176fa09
commit 35e44c1041
1 changed files with 3 additions and 1 deletions

View File

@ -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'])