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:
parent
59ffc702b8
commit
87d37e6011
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue