aboutsummaryrefslogtreecommitdiff
path: root/api/game/socket.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-16 17:01:16 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-16 17:01:16 +0200
commit2e58a8597aa14b43835dcc162fc661e21c5c8fe2 (patch)
treeced66324e723525fb342d44c55c1f26fdc9fd630 /api/game/socket.py
parent07c2b124e4348b15f1e5ec18c6cdfd77248c6bc8 (diff)
fix ugly horizontal alignment by dprint
Diffstat (limited to 'api/game/socket.py')
-rw-r--r--api/game/socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/game/socket.py b/api/game/socket.py
index 587ad7d..eded965 100644
--- a/api/game/socket.py
+++ b/api/game/socket.py
@@ -22,12 +22,12 @@ def participants_only(func):
game_id = data["game_id"]
if not game_id or \
- not game_id in games:
+ not game_id in games:
return
game = games[game_id]
if game.player_1_id != user_id and \
- game.player_2_id != user_id:
+ game.player_2_id != user_id:
return
return func(data, user_id, game)