diff --git a/venture/app.py b/venture/app.py index 2f7ab13..6cb9f39 100644 --- a/venture/app.py +++ b/venture/app.py @@ -35,7 +35,7 @@ def on_join_contestant(data): @socketio.on('buzz') def on_buzz(): - contestant = session.game[request.sid] + contestant = session.game.contestants[request.sid] if contestant.locked: return emit('contestant-buzzed', {'sid': request.sid}, to=session.room)