mirror of https://github.com/evilhero/mylar
FIX: When filechecking, if last character in filename was a square bracket would cause error
This commit is contained in:
parent
83816cfa64
commit
437ea6616b
|
@ -257,7 +257,7 @@ class FileChecker(object):
|
|||
elif rp.lower() in m[cnt].lower():
|
||||
scangroup = re.sub('[\(\)]', '', m[cnt]).strip()
|
||||
logger.fdebug('Scanner group tag discovered: ' + scangroup)
|
||||
modfilename = re.sub(m[cnt],'', modfilename).strip()
|
||||
modfilename = modfilename.replace(m[cnt],'').strip()
|
||||
break
|
||||
cnt +=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue