From a89bf56b08c98b20c83b8180120febebba6bc109 Mon Sep 17 00:00:00 2001 From: evilhero Date: Fri, 29 Mar 2019 10:08:47 -0400 Subject: [PATCH] FIX: make sure the word 'infinity' isn't taken as a numeric when parsing filenames --- mylar/filechecker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index 3e67e435..161da67f 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -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)