mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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:
|
||||
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'))
|
||||
|
|
Loading…
Reference in a new issue