summaryrefslogtreecommitdiff
path: root/grc/python/flow_graph.tmpl
diff options
context:
space:
mode:
authorJosh Blum2011-04-05 10:38:47 -0700
committerJosh Blum2011-04-07 12:06:03 -0500
commit11837de659a69d1d8aaf353a046f06ef7c260c5c (patch)
tree667347334fecef255280f02fa0285f54cdf7e9b9 /grc/python/flow_graph.tmpl
parenteca5501969aa6175562b7e70b350cf3e6ddec603 (diff)
downloadgnuradio-11837de659a69d1d8aaf353a046f06ef7c260c5c.tar.gz
gnuradio-11837de659a69d1d8aaf353a046f06ef7c260c5c.tar.bz2
gnuradio-11837de659a69d1d8aaf353a046f06ef7c260c5c.zip
grc: fix for generating top block when in run to completion mode
Diffstat (limited to 'grc/python/flow_graph.tmpl')
-rw-r--r--grc/python/flow_graph.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index 5aaa99793..e16e86f5b 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -243,9 +243,9 @@ if __name__ == '__main__':
tb.show()
qapp.exec_()
#elif $generate_options == 'no_gui'
+ tb = $(class_name)($(', '.join($params_eq_list)))
#set $run_options = $flow_graph.get_option('run_options')
#if $run_options == 'prompt'
- tb = $(class_name)($(', '.join($params_eq_list)))
tb.start()
raw_input('Press Enter to quit: ')
tb.stop()