There was an error while loading. Please reload this page.
1 parent 948d4cb commit 4959dbdCopy full SHA for 4959dbd
1 file changed
digital_image_processing/filters/local_binary_pattern.py
@@ -19,7 +19,7 @@ def get_neighbors_pixel(
19
20
try:
21
return int(image[x_coordinate][y_coordinate] >= center)
22
- except IndexError, TypeError:
+ except (IndexError, TypeError):
23
return 0
24
25
0 commit comments