mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for missing code in Name Parser
This commit is contained in:
parent
0573a8add6
commit
688263bd62
@ -230,6 +230,8 @@ class NameParser(object):
|
||||
result.release_group = match.group('release_group')
|
||||
result.score += 1
|
||||
|
||||
if self.showObj:
|
||||
result.show = self.showObj
|
||||
if getattr(self.showObj, 'air_by_date', None) and result.air_date:
|
||||
result.score += 1
|
||||
elif getattr(self.showObj, 'sports', None) and result.sports_event_date:
|
||||
|
Loading…
Reference in New Issue
Block a user