Use count for mergedict
This commit is contained in:
1 parent
6b7d29bae1
commit
440bcfb7a1
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class MovieResultModifier(Plugin):
|
||||
order.append(imdb)
|
||||
|
||||
if item.get('via_imdb'):
|
||||
if order.index(imdb):
|
||||
if order.count(imdb):
|
||||
order.remove(imdb)
|
||||
order.insert(0, imdb)
|
||||
|
||||
|
||||
Reference in new issue
Block a user