Skip to content
Snippets Groups Projects
Commit 8dcacb14 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Indent fix

parent f00b885b
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ def detect_block_type(board, x, y): ...@@ -94,7 +94,7 @@ def detect_block_type(board, x, y):
if check_bomb(): if check_bomb():
for offset in range(DETECT_BOMB_Y_TOLERANCE): for offset in range(DETECT_BOMB_Y_TOLERANCE):
h, s, v = board.getpixel((x + DETECT_BOMB_X, h, s, v = board.getpixel((x + DETECT_BOMB_X,
y + DETECT_BOMB_Y + offset)) y + DETECT_BOMB_Y + offset))
if s >= MIN_BOMB_SAT: if s >= MIN_BOMB_SAT:
for basic_ty, hexpect in enumerate(BOMB_HUES): for basic_ty, hexpect in enumerate(BOMB_HUES):
if is_hue(h, hexpect): if is_hue(h, hexpect):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment