IndexError -> KeyError .. doh.
This commit is contained in:
parent
98981059cd
commit
ab1c37ead2
|
@ -462,7 +462,7 @@ class Importer:
|
|||
loc = self.pos_in_file[file]
|
||||
#size = os.path.getsize(file)
|
||||
#print "loc =", loc, 'size =', size
|
||||
except IndexError:
|
||||
except KeyError:
|
||||
pass
|
||||
# Read input file into class and close file
|
||||
inputFile.seek(loc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user