From 222f702f460b6903dd2ae0e5a162cb04c0d9c97f Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 19 Jul 2014 05:15:48 -0700 Subject: [PATCH] Skips to next regex if unable to create result.show --- sickbeard/name_parser/parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sickbeard/name_parser/parser.py b/sickbeard/name_parser/parser.py index 48af80c1..bdb83d13 100644 --- a/sickbeard/name_parser/parser.py +++ b/sickbeard/name_parser/parser.py @@ -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'))