1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-01-05 19:08:02 -05:00

Merge branch 'origin/dev'

This commit is contained in:
echel0n 2014-06-05 18:42:28 -07:00
commit 03722bcc3e

View File

@ -130,9 +130,7 @@ class NameParser(object):
if 'series_name' in named_groups:
result.series_name = match.group('series_name')
if not result.series_name:
continue
if result.series_name:
result.series_name = self.clean_series_name(result.series_name)
result.score += 1
@ -182,7 +180,7 @@ class NameParser(object):
result.sports_event_date = parser.parse(sports_event_date, fuzzy=True).date()
result.score += 1
except:
continue
pass
if 'air_year' in named_groups and 'air_month' in named_groups and 'air_day' in named_groups:
year = int(match.group('air_year'))