From 82cdf640beef4e77c241e17a6d28c324cb4ad2ed Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 2 Mar 2024 12:22:28 -0500 Subject: [PATCH] Update rpitx.py use str --- rpitx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 389d61cb..464d15ab 100644 --- a/rpitx.py +++ b/rpitx.py @@ -529,7 +529,7 @@ if __name__ == "__main__": print("done for") for chan in range(7): print("for loop") - command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + ch + ".txt -r 48000 > /dev/null 2>&1" + command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + str(ch) + ".txt -r 48000 > /dev/null 2>&1" print("after command assignment") system(command) print("for loop1")