From 4f069d7d9bb1cbf4e989ecd0b18e6a518114b4d7 Mon Sep 17 00:00:00 2001 From: evilhero Date: Sun, 14 Oct 2018 14:46:52 -0400 Subject: [PATCH] FIX:(#2096) datematch referenced prior to assignment when multiple series match during post-processing --- mylar/PostProcessor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mylar/PostProcessor.py b/mylar/PostProcessor.py index ce698783..b3ab6aa7 100755 --- a/mylar/PostProcessor.py +++ b/mylar/PostProcessor.py @@ -542,6 +542,7 @@ class PostProcessor(object): temploc= watchmatch['justthedigits'].replace('_', ' ') temploc = re.sub('[\#\']', '', temploc) logger.info('temploc: %s' % temploc) + datematch = "False" if any(['annual' in temploc.lower(), 'special' in temploc.lower()]) and mylar.CONFIG.ANNUALS_ON is True: biannchk = re.sub('-', '', temploc.lower()).strip()