mirror of https://github.com/evilhero/mylar
FIX: make sure the word 'infinity' isn't taken as a numeric when parsing filenames
This commit is contained in:
parent
a6a14cbdae
commit
a89bf56b08
|
@ -358,6 +358,8 @@ class FileChecker(object):
|
||||||
mini = False
|
mini = False
|
||||||
try:
|
try:
|
||||||
logger.fdebug('checking now: %s' % x)
|
logger.fdebug('checking now: %s' % x)
|
||||||
|
if x.lower() == 'infinity':
|
||||||
|
raise Exception
|
||||||
if x.isdigit():
|
if x.isdigit():
|
||||||
logger.fdebug('[MINI-SERIES] MAX ISSUES IN SERIES: %s' % x)
|
logger.fdebug('[MINI-SERIES] MAX ISSUES IN SERIES: %s' % x)
|
||||||
spf.append('(of %s)' % x)
|
spf.append('(of %s)' % x)
|
||||||
|
|
Loading…
Reference in New Issue