update on request

This commit is contained in:
j 2011-10-25 00:39:32 +02:00
parent 767176fa09
commit 35e44c1041

View file

@ -25,7 +25,9 @@ def find(info, guess=True):
else: else:
q = q.filter(**{fkey:info[key]}) q = q.filter(**{fkey:info[key]})
if q.count() == 1: 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 #For now fallback to ox.web.imdb.guess and try again
if guess: if guess:
id = ox.web.imdb.getMovieId(info['title']) id = ox.web.imdb.getMovieId(info['title'])