summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/stream_to_vector_decimator.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/stream_to_vector_decimator.py')
-rw-r--r--gr-blocks/python/blocks/stream_to_vector_decimator.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-blocks/python/blocks/stream_to_vector_decimator.py b/gr-blocks/python/blocks/stream_to_vector_decimator.py
index bcbfd96b8b..9896ab8d34 100644
--- a/gr-blocks/python/blocks/stream_to_vector_decimator.py
+++ b/gr-blocks/python/blocks/stream_to_vector_decimator.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
#
# Copyright 2008 Free Software Foundation, Inc.
#
@@ -19,9 +20,11 @@
# Boston, MA 02110-1301, USA.
#
-import blocks_swig as blocks
from gnuradio import gr
+from . import blocks_swig as blocks
+
+
class stream_to_vector_decimator(gr.hier_block2):
"""
Convert the stream to a vector, decimate the vector stream to achieve the vector rate.