1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Skips to next regex if unable to create result.show

This commit is contained in:
echel0n 2014-07-19 05:15:48 -07:00
parent 09a3333399
commit 222f702f46

View File

@ -146,6 +146,8 @@ class NameParser(object):
else:
if not self.naming_pattern:
result.show = helpers.get_show_by_name(result.series_name, useIndexer=self.useIndexers)
if not result.show:
continue
if 'season_num' in named_groups:
tmp_season = int(match.group('season_num'))