FIX:(#2096) datematch referenced prior to assignment when multiple series match during post-processing

This commit is contained in:
evilhero 2018-10-14 14:46:52 -04:00
parent 021dc47fae
commit 4f069d7d9b
1 changed files with 1 additions and 0 deletions

View File

@ -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()