SergeyO7 commited on
Commit
7c06e8b
·
verified ·
1 Parent(s): 8873299

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -48,8 +48,7 @@ async def submit_answers(session: aiohttp.ClientSession, submit_url: str, submis
48
  try:
49
  async with session.post(submit_url, json=submission_data, timeout=60) as response:
50
  response.raise_for_status()
51
- return await response.json
52
- ()
53
  except aiohttp.ClientResponseError as e:
54
  print(f"Submission Failed: Server responded with status {e.status}. Detail: {e.message}")
55
  return None
 
48
  try:
49
  async with session.post(submit_url, json=submission_data, timeout=60) as response:
50
  response.raise_for_status()
51
+ return await response.json()
 
52
  except aiohttp.ClientResponseError as e:
53
  print(f"Submission Failed: Server responded with status {e.status}. Detail: {e.message}")
54
  return None