Update libs

This commit is contained in:
Antoine Bertin committed 2012-06-24 23:28:38 +02:00
1 parent 2d05aafc04
commit 88b71c8116
157 files changed
+15686 -2017

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ class OpenSubtitles(ServiceBase):
language = self.get_language(result['SubLanguageID'])
path = get_subtitle_path(filepath, language, self.config.multi)
confidence = 1 - float(self.confidence_order.index(result['MatchedBy'])) / float(len(self.confidence_order))
subtitle = ResultSubtitle(path, language, service=self.__class__.__name__.lower(), link=result['SubDownloadLink'],
subtitle = ResultSubtitle(path, language, self.__class__.__name__.lower(), result['SubDownloadLink'],
release=to_unicode(result['SubFileName']), confidence=confidence)
subtitles.append(subtitle)
return subtitles