Skip to content

Commit

Permalink
Fix logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Jul 17, 2023
1 parent dd09d5f commit 9a9aac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def simulate_model(body: SimulatePostRequest) -> JobResponse:
resp = create_job(operation_name=operation_name, options=options)

if len(interventions) > 0:
logging.info("{resp['id']} used interventions: {interventions}")
logging.info(f"{resp['id']} used interventions: {interventions}")
response = {"simulation_id": resp["id"]}

return response
Expand Down

0 comments on commit 9a9aac0

Please sign in to comment.