Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Jan 14, 2025
1 parent 1f780fb commit 0a259f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/bug/game_bug.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,12 @@ async def save_game(self):
"f": self.boards["a"].fen + " | " + self.boards["b"].fen,
"s": self.status,
"r": R2C[self.result],
"m": [*map(self.encode_method, (map(grand2zero, moves) if self.variant in GRANDS else moves))],
"m": [
*map(
self.encode_method,
(map(grand2zero, moves) if self.variant in GRANDS else moves),
)
],
"o": [0 if x["boardName"] == "a" else 1 for x in self.steps[1:]],
"c": self.construct_chat_list(),
"ts": [x["ts"] for x in self.steps],
Expand Down

0 comments on commit 0a259f6

Please sign in to comment.