From c40c0f3243711bbf25afdd0147d45f2e96b91c06 Mon Sep 17 00:00:00 2001 From: Andrej Rode <mail@andrejro.de> Date: Sat, 23 Jun 2018 19:01:34 +0200 Subject: python: Py3k compat --- gr-utils/python/utils/plot_fft_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-utils/python/utils/plot_fft_base.py') diff --git a/gr-utils/python/utils/plot_fft_base.py b/gr-utils/python/utils/plot_fft_base.py index c0651529ea..5040aefa87 100644 --- a/gr-utils/python/utils/plot_fft_base.py +++ b/gr-utils/python/utils/plot_fft_base.py @@ -93,7 +93,7 @@ class plot_fft_base(object): self.iq_fft = self.dofft(self.iq) tstep = 1.0 / self.sample_rate - #self.time = scipy.array([tstep*(self.position + i) for i in xrange(len(self.iq))]) + #self.time = scipy.array([tstep*(self.position + i) for i in range(len(self.iq))]) self.time = scipy.array([tstep*(i) for i in range(len(self.iq))]) self.freq = self.calc_freq(self.time, self.sample_rate) -- cgit v1.2.3