Skip to content

Commit 9201e48

Browse files
committed
Replace elif with if
1 parent 2073cb1 commit 9201e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def _from_shp_file(cls, f, next_shape, oid=None, bbox=None):
854854

855855
# All shape types capable of having a bounding box
856856
# elif shapeType in (3, 13, 23, 5, 15, 25, 8, 18, 28, 31):
857-
elif isinstance(shape, _CanHaveBBox):
857+
if isinstance(shape, _CanHaveBBox):
858858
# record.bbox = tuple(_Array[float]("d", unpack("<4d", f.read(32))))
859859
shape.bbox = _Array[float]("d", unpack("<4d", f.read(32)))
860860
# if bbox specified and no overlap, skip this shape

0 commit comments

Comments
 (0)