mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 05:13:35 +00:00
FIX: fix for file parser upchucking on volume logging
This commit is contained in:
parent
3063b3adf1
commit
f3dfe2ae6c
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ class FileChecker(object):
|
||||||
volume_found['position'] = split_file.index(sf, current_pos)
|
volume_found['position'] = split_file.index(sf, current_pos)
|
||||||
|
|
||||||
volume_found['volume'] = volume
|
volume_found['volume'] = volume
|
||||||
logger.fdebug('volume label detected as : Volume ' + str(volume) + ' @ position: ' + str(split_file.index(sf)))
|
logger.fdebug('volume label detected as : Volume %s @ position: %s' % (volume, volume_found['position']))
|
||||||
volumeprior = False
|
volumeprior = False
|
||||||
volumeprior_label = None
|
volumeprior_label = None
|
||||||
elif all(['vol' in sf.lower(), len(sf) == 3]) or all(['vol.' in sf.lower(), len(sf) == 4]):
|
elif all(['vol' in sf.lower(), len(sf) == 3]) or all(['vol.' in sf.lower(), len(sf) == 4]):
|
||||||
|
|
Loading…
Add table
Reference in a new issue