mirror of https://github.com/evilhero/mylar
FIX: error during filecheck/import/manual run regarding issue number
This commit is contained in:
parent
d59e8eaaa7
commit
395d11c42d
|
@ -691,8 +691,10 @@ class FileChecker(object):
|
||||||
issue_number = re.sub('XCV', x, split_file[issue_number_position-1])
|
issue_number = re.sub('XCV', x, split_file[issue_number_position-1])
|
||||||
highest_series_pos -=1
|
highest_series_pos -=1
|
||||||
issue_number_position -=1
|
issue_number_position -=1
|
||||||
|
if issue_number is None:
|
||||||
logger.fdebug('issue verified as : ' + issue_number)
|
logger.fdebug('No issue number present in filename.')
|
||||||
|
else:
|
||||||
|
logger.fdebug('issue verified as : ' + issue_number)
|
||||||
issue_volume = None
|
issue_volume = None
|
||||||
if len(volume_found) > 0:
|
if len(volume_found) > 0:
|
||||||
issue_volume = 'v' + str(volume_found['volume'])
|
issue_volume = 'v' + str(volume_found['volume'])
|
||||||
|
|
Loading…
Reference in New Issue