Codebase list gr-dab / 1d59a92
Replace raw_input with input Ruben Undheim 4 years ago
2 changed file(s) with 36 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Ruben Undheim <ruben.undheim@gmail.com>
1 Date: Sun, 29 Sep 2019 20:14:26 +0200
2 Subject: Replace raw_input with input
3
4 ---
5 apps/sdr-zmq-daemon | 2 +-
6 python/app/receive_dabplus.py | 2 +-
7 2 files changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/apps/sdr-zmq-daemon b/apps/sdr-zmq-daemon
10 index 2ae1506..6ddfc10 100755
11 --- a/apps/sdr-zmq-daemon
12 +++ b/apps/sdr-zmq-daemon
13 @@ -99,7 +99,7 @@ def main(top_block_cls=top_block, options=None):
14 tb = top_block_cls()
15 tb.start()
16 try:
17 - raw_input('Press Enter to quit: ')
18 + input('Press Enter to quit: ')
19 except EOFError:
20 pass
21 tb.stop()
22 diff --git a/python/app/receive_dabplus.py b/python/app/receive_dabplus.py
23 index 7ad031a..14fb441 100755
24 --- a/python/app/receive_dabplus.py
25 +++ b/python/app/receive_dabplus.py
26 @@ -89,7 +89,7 @@ def receive_dabplus(frequency=220.352e6, rf_gain=25, if_gain=0, bb_gain=0, ppm=8
27
28
29 fg.start()
30 - raw_input("Running..")
31 + input("Running..")
32 #new = grdab.dabplus_audio_decoder_ff(grdab.parameters.dab_parameters(mode=1, sample_rate=samp_rate, verbose=False), 64, 304, 64, 1, True)
33 #newaudio = audio.sink(44100, '', True)
34 fg.stop()
00 0001-Fix-library-version.patch
11 0002-sdr-zmq-daemon-is-also-Python-3.patch
2 0003-Replace-raw_input-with-input.patch