mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -19,7 +19,7 @@ def get_neighbors_pixel(
|
||||
|
||||
try:
|
||||
return int(image[x_coordinate][y_coordinate] >= center)
|
||||
except (IndexError, TypeError):
|
||||
except IndexError, TypeError:
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user