From 25e2e7287b20e8dd8e5cf9c0fe07eb754b81c10c Mon Sep 17 00:00:00 2001 From: Josh Morman <jmorman@gnuradio.org> Date: Wed, 24 Nov 2021 12:03:48 -0500 Subject: blocks: pep8 formatting Signed-off-by: Josh Morman <jmorman@gnuradio.org> --- gr-blocks/python/blocks/qa_block_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/python/blocks/qa_block_gateway.py') diff --git a/gr-blocks/python/blocks/qa_block_gateway.py b/gr-blocks/python/blocks/qa_block_gateway.py index 8088b59a85..7205fe3315 100644 --- a/gr-blocks/python/blocks/qa_block_gateway.py +++ b/gr-blocks/python/blocks/qa_block_gateway.py @@ -125,7 +125,7 @@ class tag_source(gr.sync_block): if self.nitems_written(0) == 0: # skip tagging in the first work block return num_output_items - + # make a new tag on the middle element every time work is called count = self.nitems_written(0) + num_output_items // 2 key = pmt.string_to_symbol("example_key") -- cgit v1.2.3