From a257cf15e33f27f027400c767412194aa214d11f Mon Sep 17 00:00:00 2001 From: lardbit Date: Wed, 4 Dec 2024 08:57:39 -0600 Subject: [PATCH] verify title match exists --- src/nefarious/parsers/tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nefarious/parsers/tv.py b/src/nefarious/parsers/tv.py index 03cdbeb4..5d0a0ce2 100644 --- a/src/nefarious/parsers/tv.py +++ b/src/nefarious/parsers/tv.py @@ -253,7 +253,7 @@ def parse(self): self.match = matches[0] # single title - if 'title' in self.match: + if 'title' in self.match and self.match['title']: self.match['title'] = self.normalize_media_title(self.match['title'][0]) else: self.match['title'] = ''