1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-01-03 05:24:43 +00:00

FIX: fix for file-checker erroring on annual post-processing when no issue number present in some titles

This commit is contained in:
evilhero 2019-03-17 13:06:42 -04:00
parent 8a2d00fb9e
commit 52ea6e3d26

View file

@ -1179,7 +1179,9 @@ class FileChecker(object):
if mylar.CONFIG.ANNUALS_ON and 'annual' not in nspace_watchcomic.lower():
if 'annual' in series_name.lower():
justthedigits = 'Annual ' + series_info['issue_number']
justthedigits = 'Annual'
if series_info['issue_number'] is not None:
justthedigits += ' %s' % series_info['issue_number']
nspace_seriesname = re.sub('annual', '', nspace_seriesname.lower()).strip()
nspace_seriesname_decoded = re.sub('annual', '', nspace_seriesname_decoded.lower()).strip()
if alt_series is not None and 'annual' in alt_series.lower():