mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 13:24:53 +00:00
FIX: If filename had no year, but issue was '20' or '19' would not scan in
This commit is contained in:
parent
d167f9795a
commit
dca9ca59a1
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue