Skip to content

Commit d192b92

Browse files
committed
Fix lint
1 parent 846a682 commit d192b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/predictions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class names.
3838
for polygon, pixel_value in rasterio.features.shapes(segmentation_map):
3939
pixel_value = int(pixel_value)
4040
# ignore background (denoted by pixel value 0)
41-
if pixel_value in legend and pixel_value is not 0:
41+
if pixel_value in legend and pixel_value != 0:
4242
xy_list = polygon['coordinates'][0]
4343

4444
if max_num_points:

0 commit comments

Comments
 (0)