FIX:(#2173) Post-Processing via ComicRN/CDH would fail due to invalid reference

This commit is contained in:
evilhero 2019-01-22 22:08:40 -05:00
parent 05f3eb4ad8
commit f53ad0fe71
1 changed files with 1 additions and 1 deletions

View File

@ -2347,7 +2347,7 @@ class PostProcessor(object):
nfilename = nfilename.replace(' ', mylar.CONFIG.REPLACE_CHAR)
nfilename = re.sub('[\,\:\?\"\']', '', nfilename)
nfilename = re.sub('[\/\*]', '-', nfilename)
if ml['ForcedMatch'] is True:
if ml is not None and ml['ForcedMatch'] is True:
xyb = nfilename.find('[__')
if xyb != -1:
yyb = nfilename.find('__]', xyb)