From 9d0959c1e3adc2f357c85e6a944df1a45fac23c2 Mon Sep 17 00:00:00 2001 From: Stephen Kerr Date: Tue, 30 May 2023 15:21:26 +0200 Subject: [PATCH] ring ring --- week3/call-simpler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/week3/call-simpler.py b/week3/call-simpler.py index aead28f..c82ef3b 100644 --- a/week3/call-simpler.py +++ b/week3/call-simpler.py @@ -21,7 +21,7 @@ while True: print("some one is calling") time.sleep(3) #wait 3 seoncds sim800l.command("ATA\n") #answer the phone - audio = random.choice(audios) + audio = rando`m.choice(audios) print("playing python file") os.system("play " + audio + " &") while True: