olemb / dbfread

Read DBF Files with Python
MIT License
224 stars 91 forks source link

Support files with recordlen > sum(field_lengths) #26

Closed adaitche closed 2 years ago

adaitche commented 6 years ago

There are dbf files where the record-length (as contained in the header) is larger then the sum of the field-lengths. In these cases, dbfread currently does not work. This patch makes _iter_records skip to the start of next record after reading a record.