Skip to content

Commit 1b4124e

Browse files
committed
fix: parenthesize multiple exceptions in local_binary_pattern.py
1 parent a23a344 commit 1b4124e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

digital_image_processing/filters/local_binary_pattern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def get_neighbors_pixel(
1919

2020
try:
2121
return int(image[x_coordinate][y_coordinate] >= center)
22-
except IndexError, TypeError:
22+
except (IndexError, TypeError):
2323
return 0
2424

2525

0 commit comments

Comments
 (0)