update on request
This commit is contained in:
parent
767176fa09
commit
35e44c1041
1 changed files with 3 additions and 1 deletions
|
@ -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'])
|
||||||
|
|
Loading…
Reference in a new issue