mirror of https://github.com/evilhero/mylar
Added a check to ensure we didn't go out of bounds of an array
This commit is contained in:
parent
df322cc1d6
commit
3e36ed21d6
|
@ -362,7 +362,7 @@ def forceRescan(ComicID,archive=None):
|
||||||
# fcdigit = fcnew[som].lstrip('0')
|
# fcdigit = fcnew[som].lstrip('0')
|
||||||
#fcdigit = str(int(fcnew[som]))
|
#fcdigit = str(int(fcnew[som]))
|
||||||
fcdigit = int(fcnew[som]) * 1000
|
fcdigit = int(fcnew[som]) * 1000
|
||||||
if 'au' in fcnew[som+1].lower():
|
if som+1 < len(fcnew) and 'au' in fcnew[som+1].lower():
|
||||||
#print ("AU detected")
|
#print ("AU detected")
|
||||||
#if the 'AU' is in 005AU vs 005 AU it will yield different results.
|
#if the 'AU' is in 005AU vs 005 AU it will yield different results.
|
||||||
fnd_iss_except = 'AU'
|
fnd_iss_except = 'AU'
|
||||||
|
|
Loading…
Reference in New Issue