Strategická: f
This commit is contained in:
parent
bb402eb971
commit
3772309995
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def send_turn(turn: dict, round: int, args) -> bool:
|
||||||
json=json.dumps(turn)
|
json=json.dumps(turn)
|
||||||
)
|
)
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
logger.warning("Request error: {e}")
|
logger.warning(f"Request error: {e}")
|
||||||
return False
|
return False
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
logger.warning(f"Server error: {r.status_code} {r.reason}")
|
logger.warning(f"Server error: {r.status_code} {r.reason}")
|
||||||
|
|
Loading…
Reference in a new issue