forked from 0x2620/pandora
new key/value find
This commit is contained in:
parent
03832454fe
commit
31afb65c74
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ def getItem(info):
|
|||
item.updateImdb()
|
||||
tasks.updatePoster.delay(item.itemId)
|
||||
else:
|
||||
q = Item.objects.filter(find__title=info['title'])
|
||||
q = Item.objects.filter(find__key='title', find__value=info['title'])
|
||||
if q.count() > 1:
|
||||
print "FIXME: check more than title here!!?"
|
||||
item = q[0]
|
||||
|
|
Loading…
Reference in a new issue