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
1 changed files with 1 additions and 1 deletions

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: