diff --git a/newfol b/newfol index 824caa3..4216e26 100755 --- a/newfol +++ b/newfol @@ -1246,7 +1246,7 @@ def import_into(dtbname, dbtype, minfields=0, strict=False, identity=False): else: msg = "No mapping specified for db {0}; using identity mapping" mapobj = Mapping(dtbname, DatabaseData().schemata.nfields) - for i in range(1, DatabaseData().schemata.nfields): + for i in range(DatabaseData().schemata.nfields): mapobj.set_field_mapping(i, i, i, "") print(msg.format(dtbname), file=sys.stderr) DatabaseData().records = list(filter(lambda x: x.dbname != dtbname,