diff --git a/classquiz/socket_server/__init__.py b/classquiz/socket_server/__init__.py index 01413dd..443c85a 100644 --- a/classquiz/socket_server/__init__.py +++ b/classquiz/socket_server/__init__.py @@ -12,7 +12,6 @@ settings = settings() @sio.event async def join_game(sid, data): - print(sid, data, "JOIN_GAME") async with aiohttp.ClientSession() as session: try: async with session.post( @@ -21,10 +20,10 @@ async def join_game(sid, data): ) as resp: resp_data = await resp.json() if not resp_data["success"]: - print("CAPTCHA FAILED", resp_data) + print("CAPTCHA FAILED") return except KeyError: - print("CAPTCHA FAILED", "KeyError") + print("CAPTCHA FAILED") return redis_res = await redis.get(f"game:{data['game_pin']}") diff --git a/frontend/src/routes/import.svelte b/frontend/src/routes/import.svelte index 7e01477..b1d2b78 100644 --- a/frontend/src/routes/import.svelte +++ b/frontend/src/routes/import.svelte @@ -40,7 +40,6 @@ } is_loading = true; const regex_res = kahoot_regex.exec(url_input); - console.log(regex_res); console.log(url_valid, url_input); const res = await fetch(`/api/v1/quiz/import/${regex_res[1]}`, { method: 'POST',