mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
A most inelegant hack.
This commit is contained in:
@@ -19,6 +19,9 @@ async def echo(websocket, path):
|
||||
elif message == "ping":
|
||||
print("<<[{}]".format(message))
|
||||
tx = pong(message)
|
||||
elif message == "importBooks":
|
||||
print("<<[{} cmd rcvd]\n Starting import".format(message))
|
||||
tx = "Starting Import . . ."
|
||||
await websocket.send(tx)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user