diff --git a/server/game.py b/server/game.py index c6801592f..946cfd190 100644 --- a/server/game.py +++ b/server/game.py @@ -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 ]