mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 02:23:38 +00:00
Skips to next regex if unable to create result.show
This commit is contained in:
parent
09a3333399
commit
222f702f46
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ class NameParser(object):
|
||||||
else:
|
else:
|
||||||
if not self.naming_pattern:
|
if not self.naming_pattern:
|
||||||
result.show = helpers.get_show_by_name(result.series_name, useIndexer=self.useIndexers)
|
result.show = helpers.get_show_by_name(result.series_name, useIndexer=self.useIndexers)
|
||||||
|
if not result.show:
|
||||||
|
continue
|
||||||
|
|
||||||
if 'season_num' in named_groups:
|
if 'season_num' in named_groups:
|
||||||
tmp_season = int(match.group('season_num'))
|
tmp_season = int(match.group('season_num'))
|
||||||
|
|
Loading…
Reference in a new issue