Browse Source

Strategická: f

master
David Klement 1 year 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)
)
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}")

Loading…
Cancel
Save