Fixing a bug and adding the output of pyuic for qt_digital example.
[debian/gnuradio] / gr-qtgui / src / python / qt_digital.py
index 93d11b186ee310ae503c36ecb1a02b0fd3b5665f..a9a0bd74a2bdc1f9de068611774c746b062258ed 100755 (executable)
@@ -148,7 +148,7 @@ class my_top_block(gr.top_block):
         fftsize = 2048
 
         self.data = scipy.random.randint(0, 255, 1000)
-        self.src = gr.vector_source_b(self.data, True)
+        self.src = gr.vector_source_b(self.data.tolist(), True)
         self.mod = blks2.dqpsk_mod(self.sps, self.excess_bw, self.gray_code, False, False)
 
         self.rrctaps = gr.firdes.root_raised_cosine(1, self.sps, 1, self.excess_bw, 21)