1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix for H.264 issues related to regexes and matching for parsing release names.

This commit is contained in:
echel0n 2014-06-26 16:45:40 -07:00
parent d091c3a138
commit 858951d31c

View File

@ -249,7 +249,7 @@ class NameParser(object):
matches.append(result)
if len(matches):
result = max(matches, key=lambda x: x.score)
result = max(sorted(matches, reverse=True, key=lambda x: x.which_regex), key=lambda x: x.score)
if result.show:
if self.convert and not self.naming_pattern: