From dca9ca59a14c99ce8cddc059cc0b4d0dc0b67a68 Mon Sep 17 00:00:00 2001 From: evilhero Date: Fri, 12 Jun 2015 03:13:56 -0400 Subject: [PATCH] FIX: If filename had no year, but issue was '20' or '19' would not scan in --- mylar/filechecker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index cab9bf44..c1fc9529 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -258,6 +258,8 @@ def listFiles(dir, watchcomic, Publisher, AlternateSearch=None, manual=None, sar else: year = None for i in subthis.split(): + if len(i.strip()) != 4: + continue if ('20' in i or '19' in i): if i.isdigit(): year = i[:4]