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:
parent
a6a14cbdae
commit
a89bf56b08
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue