Strategická: f

This commit is contained in:
David Klement 2022-09-14 15:46:08 +02:00
parent bb402eb971
commit 3772309995

View file

@ -57,7 +57,7 @@ def send_turn(turn: dict, round: int, args) -> bool:
json=json.dumps(turn)
)
except requests.exceptions.RequestException as e:
logger.warning("Request error: {e}")
logger.warning(f"Request error: {e}")
return False
if not r.ok:
logger.warning(f"Server error: {r.status_code} {r.reason}")