This commit is contained in:
Nova Cat 2024-12-11 22:32:38 -08:00
parent dc7b0371a4
commit afa7a26bf2

View file

@ -110,7 +110,7 @@ def session(connection, client):
print("Received data: {}".format(data))
try:
textt = data.decode()
for text in textt.split("\r\n"):
for text in textt.replace("\r", "").split("\n"):
command = text.split(" ")[0].upper()
try:
args = text.split(" ")[1:]