mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 12:45:17 +00:00
tcpServer: Don't print intermittent newlines
This commit is contained in:
parent
063e20677f
commit
5c71569545
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ while True:
|
||||||
while True:
|
while True:
|
||||||
data = connection.recv(1024)
|
data = connection.recv(1024)
|
||||||
if data:
|
if data:
|
||||||
print(data.decode("utf-8"))
|
print(data.decode("utf-8"), end='', flush=True)
|
||||||
else:
|
else:
|
||||||
print(f'Connection Terminated.')
|
print(f'Connection Terminated.')
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue