Fixed call and send function.

This commit is contained in:
2018-08-12 19:32:38 +02:00
parent 6450041198
commit 1e1a270b07

View File

@@ -22,8 +22,8 @@ async def time(websocket, path):
async def deluge(websocket, path):
downloading = deluge.main(['ls', '--downloading'])
await websocket.send()
downloading = deluge_cli.main(['ls', '--downloading'])
await websocket.send(downloading)
serve_hello = websockets.serve(hello, '0.0.0.0', 8765)
# serve_time = websockets.serve(time, '0.0.0.0', 5678)