Don't sort tmdb searches. Unreliable.

This commit is contained in:
Ruud committed 2012-05-12 00:00:27 +02:00
1 parent 4b5fd0d6e6
commit 8ec1bc4fd1
1 file changed
+1 -7
@@ -69,13 +69,7 @@ class TheMovieDb(MovieProvider):
try:
nr = 0
# Sort on returned score first when year is in q
if re.search('\s\d{4}', q):
movies = sorted(raw, key = lambda k: k['score'], reverse = True)
else:
movies = raw
for movie in movies:
for movie in raw:
results.append(self.parseMovie(movie))
nr += 1