diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index e43dccf5..fcad30be 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -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)