incognitolm commited on
Commit
a1b1dac
·
verified ·
1 Parent(s): 15b9f04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ async def handle_action(request: Request):
177
  return {"success": False, "message": "You can only earn money once per turn."}
178
  p["coins"] += 1
179
  game["permissions"][player]["gain"] = False
180
- return {"success": True, "message": f"Player {player} now has {p['coins']} coins."}
181
  if not player_found:
182
  raise HTTPException(status_code=404, detail="Player not found in the game.")
183
 
 
177
  return {"success": False, "message": "You can only earn money once per turn."}
178
  p["coins"] += 1
179
  game["permissions"][player]["gain"] = False
180
+ return {"success": True, "message": f"You now have {p['coins']} coins."}
181
  if not player_found:
182
  raise HTTPException(status_code=404, detail="Player not found in the game.")
183