Add quotes

merge-requests/21/head
Bob Mottram 2021-03-02 14:34:40 +00:00
parent fc97c499e3
commit 870aa155a7
1 changed files with 2 additions and 1 deletions

View File

@ -1972,7 +1972,8 @@ if args.speaker:
if args.screenreader == 'espeak':
espeak.synth(html.unescape(sayStr))
elif args.screenreader == 'picospeaker':
os.system('picospeaker ' + html.unescape(sayStr))
os.system('picospeaker "' +
html.unescape(sayStr) + '"')
prevSay = speakerJson['say']
time.sleep(30)