1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-03-09 05:13:35 +00:00

FIX: If filename had no year, but issue was '20' or '19' would not scan in

This commit is contained in:
evilhero 2015-06-12 03:13:56 -04:00
parent d167f9795a
commit dca9ca59a1

View file

@ -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]