Fix \n
This commit is contained in:
parent
dc7b0371a4
commit
afa7a26bf2
1 changed files with 1 additions and 1 deletions
|
@ -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:]
|
||||
|
|
Loading…
Reference in a new issue