Skip to content

Commit 49edb13

Browse files
committed
Additional check for shapefiles with **
1 parent 202143c commit 49edb13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def __record(self):
482482
continue
483483
elif typ == "N":
484484
value = value.replace(b('\0'), b('')).strip()
485-
if value == b(''):
485+
if value == b('') or value == b('**'):
486486
value = 0
487487
elif deci:
488488
value = float(value)

0 commit comments

Comments
 (0)