1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 07:42:24 +00:00

FIX:(#2313) One-shot file name parsing would not properly detect details in some instances

This commit is contained in:
evilhero 2019-07-25 20:36:44 -04:00
parent 6a1f96167c
commit 15aadaaa23

View file

@ -995,7 +995,7 @@ def forceRescan(ComicID, archive=None, module=None, recheck=False):
break
try:
if all([booktype == 'TPB', iscnt > 1]) or all([booktype == 'One-Shot', iscnt == 1]):
if all([booktype == 'TPB', iscnt > 1]) or all([booktype == 'One-Shot', iscnt == 1, cla['JusttheDigits'] is None]):
if cla['SeriesVolume'] is not None:
just_the_digits = re.sub('[^0-9]', '', cla['SeriesVolume']).strip()
else: