1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-01 12:07:50 +00:00

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

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)