summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/networking/vector_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/hier/networking/vector_source.py')
-rwxr-xr-xgnuradio-examples/python/hier/networking/vector_source.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/python/hier/networking/vector_source.py b/gnuradio-examples/python/hier/networking/vector_source.py
index 8ef01d7a90..e7ec2a461d 100755
--- a/gnuradio-examples/python/hier/networking/vector_source.py
+++ b/gnuradio-examples/python/hier/networking/vector_source.py
@@ -51,12 +51,9 @@ if __name__ == '__main__':
top_block = vector_source(options.src_name, options.dst_name,
options.dst_port, options.packet_size)
- # Create an instance of a runtime, passing it the top block
- runtime = gr.runtime(top_block)
-
try:
# Run forever
- runtime.run()
+ top_block.run()
except KeyboardInterrupt:
# Ctrl-C exits
pass