From 85f295976df90cbb6f6f478da44e726d6567286c Mon Sep 17 00:00:00 2001 From: evilhero Date: Sun, 29 Dec 2019 22:31:50 -0500 Subject: [PATCH] =?UTF-8?q?FIX:=20fix=20for=20=C2=BD=20symbol=20causing=20?= =?UTF-8?q?a=20traceback=20error=20for=20some=20series?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mylar/filechecker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index 0fcffe67..5eb9cf65 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -1131,7 +1131,8 @@ class FileChecker(object): if alt_series is not None: if 'XCV' in alt_series: alt_series = re.sub('XCV', x, alt_series,1) - elif 'XCV' in alt_issue: + if alt_issue is not None: + if 'XCV' in alt_issue: alt_issue = re.sub('XCV', x, alt_issue,1) series_name = re.sub('c11', '+', series_name)