mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 03:05:16 +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:
|
||||
data = connection.recv(1024)
|
||||
if data:
|
||||
print(data.decode("utf-8"))
|
||||
print(data.decode("utf-8"), end='', flush=True)
|
||||
else:
|
||||
print(f'Connection Terminated.')
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue