FIX: make sure the word 'infinity' isn't taken as a numeric when parsing filenames

This commit is contained in:
evilhero 2019-03-29 10:08:47 -04:00
parent a6a14cbdae
commit a89bf56b08
1 changed files with 2 additions and 0 deletions

View File

@ -358,6 +358,8 @@ class FileChecker(object):
mini = False
try:
logger.fdebug('checking now: %s' % x)
if x.lower() == 'infinity':
raise Exception
if x.isdigit():
logger.fdebug('[MINI-SERIES] MAX ISSUES IN SERIES: %s' % x)
spf.append('(of %s)' % x)