From 1c803b57cb198fda8b52b85d72f6309ec0710580 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 17 Oct 2021 01:47:09 +0100 Subject: [PATCH] Say --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index cab391c..c1fbb8f 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1895,7 +1895,7 @@ class routerHBP(HBSYSTEM): for num in str(_int_dst_id): _say.append(words[_lang][num]) - if not self.STATUS[_slot]['_stopTgAnnounce']: + if _say: speech = pkt_gen(bytes_3(5000), _nine, bytes_4(9), 1, _say) #call speech in a thread as it contains sleep() and hence could block the reactor reactor.callInThread(sendSpeech,self,speech)