From 12118ff26c1ea4760d0113d343ccfcb93356e532 Mon Sep 17 00:00:00 2001 From: kulisak12 Date: Wed, 14 Sep 2022 16:23:33 +0200 Subject: [PATCH] =?UTF-8?q?Strategick=C3=A1:=20Jeden=20json=20sta=C4=8D?= =?UTF-8?q?=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klient/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/klient/client.py b/klient/client.py index 3d6b666..8f1242e 100644 --- a/klient/client.py +++ b/klient/client.py @@ -1,5 +1,4 @@ import logging -import json import requests from typing import Optional, Tuple @@ -54,7 +53,7 @@ def send_turn(turn: dict, round: int, args) -> bool: "token": args.token, "round": round }, - json=json.dumps(turn) + json=turn ) except requests.exceptions.RequestException as e: logger.warning(f"Request error: {e}")