diff options
author | japm48 <japm48@users.noreply.github.com> | 2020-03-03 12:32:43 +0100 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2020-03-06 13:26:29 -0500 |
commit | 3154f78425bb86934c19a99d21ed965ae6d2410d (patch) | |
tree | 9e8ad41a1fe965b711bc38a9895f2b10e7fcf4e4 /gr-blocks/examples/ctrlport/simple_copy_controller.py | |
parent | 1b362a2336f6f9b0db57021e280ff65e32409905 (diff) |
ctrlport: fix examples
Diffstat (limited to 'gr-blocks/examples/ctrlport/simple_copy_controller.py')
-rwxr-xr-x[-rw-r--r--] | gr-blocks/examples/ctrlport/simple_copy_controller.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-blocks/examples/ctrlport/simple_copy_controller.py b/gr-blocks/examples/ctrlport/simple_copy_controller.py index 0f907eef67..b698a38f2e 100644..100755 --- a/gr-blocks/examples/ctrlport/simple_copy_controller.py +++ b/gr-blocks/examples/ctrlport/simple_copy_controller.py @@ -13,8 +13,7 @@ if(len(args) < 4): hostname = args[1] portnum = int(args[2]) msg = args[3].lower() -argv = [None, hostname, portnum] -radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') +radiosys = GNURadioControlPortClient(host=hostname, port=portnum, rpcmethod='thrift') radio = radiosys.client if(msg == 'true'): |