summaryrefslogtreecommitdiff
path: root/python/relay.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-20 14:29:32 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-20 14:29:32 +0200
commit1a6ae72c46b08c27db0ca5da9fe8f84b38c0f769 (patch)
tree066c4ded4a40675eb7205516ade4515df9617ea6 /python/relay.py
parentccf9f701f42403b58e8520d82b33671770518a38 (diff)
more relay stuff, setting up server
Diffstat (limited to 'python/relay.py')
-rw-r--r--python/relay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/relay.py b/python/relay.py
index 68741d5..9e56001 100644
--- a/python/relay.py
+++ b/python/relay.py
@@ -16,8 +16,8 @@ class RelayRPC(object):
client.connect("tcp://127.0.0.1:" + os.getenv('RPC_PORT'))
client.send_param("key", "value")
- def send_file(self, fn):
- print("got file: {} bytes".format(len(fn)))
+ def send_frame(self, frame):
+ print("got frame: {} bytes".format(len(frame)))
rpc = RelayRPC()
server = zerorpc.Server(rpc)