From ee3b2fe734fe4cdbf9720a39c3a9adf2174158e1 Mon Sep 17 00:00:00 2001 From: Diego MS Date: Mon, 13 Sep 2021 15:38:15 -0500 Subject: [PATCH] Update Audiolibro.py Quick change for the part of how the prgram works --- Audiolibro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Audiolibro.py b/Audiolibro.py index 845241e..f5bd3b0 100644 --- a/Audiolibro.py +++ b/Audiolibro.py @@ -20,12 +20,12 @@ def ReadBook(): for pageNum in range(pdfReader.numPages): text= pdfReader.getPage(pageNum).extractText() textoCompleto+= text - speaker.runAndWait() if bande== "y": speaker.say(text) + speaker.runAndWait() else: - pass + speaker.runAndWait() speaker.stop()