Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Jan 2, 2025
1 parent d3c897e commit b2ce43e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -1235,11 +1235,13 @@ def handle_chat_message(self, chat_message):

def get_fog_steps(steps, persp_color):
if persp_color is None:
return [
{"fen": DARK_FEN} for step in steps
]
return [{"fen": DARK_FEN} for step in steps]
else:
return [
{"fen": get_fog_fen(step["fen"], persp_color), "san": "?", "turnColor": step["turnColor"]}
{
"fen": get_fog_fen(step["fen"], persp_color),
"san": "?",
"turnColor": step["turnColor"],
}
for step in steps
]

0 comments on commit b2ce43e

Please sign in to comment.