mirror of
				https://github.com/KevinMidboe/delugeClient.git
				synced 2025-10-29 12:00:13 +00:00 
			
		
		
		
	Fixed call and send function.
This commit is contained in:
		| @@ -22,8 +22,8 @@ async def time(websocket, path): | |||||||
|  |  | ||||||
|  |  | ||||||
| async def deluge(websocket, path): | async def deluge(websocket, path): | ||||||
| 	downloading = deluge.main(['ls', '--downloading']) | 	downloading = deluge_cli.main(['ls', '--downloading']) | ||||||
| 	await websocket.send() | 	await websocket.send(downloading) | ||||||
|  |  | ||||||
| serve_hello = websockets.serve(hello, '0.0.0.0', 8765) | serve_hello = websockets.serve(hello, '0.0.0.0', 8765) | ||||||
| # serve_time = websockets.serve(time, '0.0.0.0', 5678) | # serve_time = websockets.serve(time, '0.0.0.0', 5678) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user