Skip to content

Commit 966a1ee

Browse files
Copilotcclauss
andauthored
fix: revert Python 2 except syntax fixes (bracketless except is valid py314)
Agent-Logs-Url: https://github.com/TheAlgorithms/Python/sessions/465bf858-594a-4ca3-84b7-915fb68dd949 Co-authored-by: cclauss <3709715+cclauss@users.noreply.github.com>
1 parent e652bcb commit 966a1ee

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)