Update websocket_example.py
This commit is contained in:
parent
45abeba5d0
commit
b1f40db14a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ s = aternos.list_servers()[0]
|
|||
socket = s.wss()
|
||||
|
||||
@socket.wssreceiver(atwss.Streams.console)
|
||||
def console(msg):
|
||||
async def console(msg):
|
||||
print('Received: ' + msg)
|
||||
|
||||
s.start()
|
||||
|
|
Reference in a new issue