Private GIT

Skip to content
Snippets Groups Projects
Commit 440bcfb7 authored by Ruud's avatar Ruud
Browse files

Use count for mergedict

parent 6b7d29ba
Branches
Tags
No related merge requests found
...@@ -31,7 +31,7 @@ class MovieResultModifier(Plugin): ...@@ -31,7 +31,7 @@ class MovieResultModifier(Plugin):
order.append(imdb) order.append(imdb)
if item.get('via_imdb'): if item.get('via_imdb'):
if order.index(imdb): if order.count(imdb):
order.remove(imdb) order.remove(imdb)
order.insert(0, imdb) order.insert(0, imdb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment