More debugging
This commit is contained in:
parent
bbbb592cb7
commit
03e5b7e7d8
6 changed files with 17 additions and 14 deletions
|
|
@ -78,7 +78,7 @@ def ping(ip, port=25565):
|
|||
while len(data) != length:
|
||||
chunk = sock.recv(length - len(data))
|
||||
if not chunk:
|
||||
raise ValueError("connection abborted")
|
||||
raise ValueError("connection aborted")
|
||||
|
||||
data += chunk
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue