summaryrefslogtreecommitdiff
path: root/python/relay.py
diff options
context:
space:
mode:
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)