py2.6 fix

pull/1/head
DiMartinoXBMC 2015-07-20 19:32:00 +03:00
parent 472635beab
commit f026b91719
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class PageParser:
results.append(origResult)
else:
results.append(result)
results.extend(resultsMap.viewvalues())
results.extend(resultsMap.values())
if mediaAltName:
moreResults = self.queryKinoPoisk(mediaAltName, mediaYear)
@ -124,7 +124,7 @@ class PageParser:
results.append(origResult)
else:
results.append(result)
results.extend(resultsMap.viewvalues())
results.extend(resultsMap.values())
# Sort all results based on their score.
results.sort(key=operator.itemgetter(3))