Skip to content

Commit fb222e6

Browse files
author
Steven
committed
[~] Fixed typo
[-] Removed debug message
1 parent 7fa71a2 commit fb222e6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

byte_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def read_varint(byte, i):
1414
if (byte_in & 0x80) != 0x80:
1515
return result, i
1616
except IndexError:
17-
print("A invalid byte array was requested!")
17+
print("An invalid byte array was requested!")
1818

1919

2020
def read_utf(byte, i):

socket_server.py

-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ def on_new_client(self, client_socket, addr):
5555
if len(self.server_icon) > 0:
5656
motd["favicon"] = self.server_icon
5757

58-
print(motd)
59-
6058
self.write_response(client_socket, json.dumps(motd))
6159
elif state == 2:
6260
print("%s:%s has tried to connect to the server (%s:%s)" % (addr[0], addr[1], ip, port_tuple[0]))

0 commit comments

Comments
 (0)