Format code with black

This commit fixes the style issues introduced in 88a8cec according to the output
from black.

Details: https://deepsource.io/gh/mawoka-myblock/ClassQuiz/transform/0eaa4519-980e-466d-ac20-6de04a1f1c8b/
This commit is contained in:
deepsource-autofix[bot]
2022-04-10 11:10:39 +00:00
committed by GitHub
parent 88a8cec5b2
commit a431981bb4
+3 -3
View File
@@ -15,8 +15,8 @@ async def join_game(sid, data):
async with aiohttp.ClientSession() as session:
try:
async with session.post(
"https://hcaptcha.com/siteverify",
data={"response": data["captcha"], "secret": settings.hcaptcha_key},
"https://hcaptcha.com/siteverify",
data={"response": data["captcha"], "secret": settings.hcaptcha_key},
) as resp:
resp_data = await resp.json()
if not resp_data["success"]:
@@ -170,4 +170,4 @@ async def get_final_results(sid, _data):
break
else:
results[str(i)] = json.loads(redis_res)
await sio.emit("final_results", results, room=session['game_pin'])
await sio.emit("final_results", results, room=session["game_pin"])