diff --git a/dbfread/field_parser.py b/dbfread/field_parser.py index b462a2d..cd55ccd 100644 --- a/dbfread/field_parser.py +++ b/dbfread/field_parser.py @@ -176,7 +176,7 @@ def parseN(self, field, data): def parseO(self, field, data): """Parse long field (O) and return float.""" - return struct.unpack('d', data)[0] + return struct.unpack('