FIX: When filechecking, if last character in filename was a square bracket would cause error

This commit is contained in:
evilhero 2017-01-18 10:58:43 -05:00
parent 83816cfa64
commit 437ea6616b
1 changed files with 1 additions and 1 deletions

View File

@ -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