Browse Source

Strategická: f

master
David Klement 2 years ago
parent
commit
3772309995
  1. 2
      klient/client.py

2
klient/client.py

@ -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…
Cancel
Save