1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 17:16:51 +00:00

FIX: more invalid str references whem manual post-processing / importing

This commit is contained in:
evilhero 2015-03-28 21:03:22 -04:00
parent 59ffc702b8
commit 87d37e6011

View file

@ -203,10 +203,10 @@ def listFiles(dir,watchcomic,Publisher,AlternateSearch=None,manual=None,sarc=Non
if bracketsinseries == 'True':
logger.fdebug('[FILECHECKER] modifying subname to accomodate brackets within series title.')
subnm_mod2 = re.findall('[^()]+', subname[bracket_length_en:])
logger.fdebug('[FILECHECKER] subnm_mod : ' + subnm_mod2)
#logger.fdebug('[FILECHECKER] subnm_mod : ' + subnm_mod2)
subnm_mod = re.sub('[\(\)]',' ', subname[:bracket_length_en]) + str(subname[bracket_length_en+1:])
logger.fdebug('[FILECHECKER] modified subname is now : ' + subnm_mod)
#logger.fdebug('[FILECHECKER] modified subname is now : ' + subnm_mod)
subname = subnm_mod
subnm = re.findall('[^()]+', subname)