1
0
Fork 0
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:
evilhero 2019-04-05 16:14:33 -04:00
parent 3063b3adf1
commit f3dfe2ae6c

View file

@ -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]):