olemb / dbfread

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

Considers the number of fields in the headers instead 0x0D headers end #55

Open thesivis opened 3 years ago

thesivis commented 3 years ago

Some .dbf files lack the 0x0D flag at the end of the header, which in turn makes some software misbehave.

The fix implemented just remove the 'while true' in _read_field_headers and considers the number of fields in the headers instead 0x0D headers end