[orca] Speech: Fix bug causing system voice to not always be used
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [orca] Speech: Fix bug causing system voice to not always be used
- Date: Wed, 12 Jan 2022 14:53:55 +0000 (UTC)
commit e2c41244d770124f8c5656d4a3d49dbaacdc87ab
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jan 12 15:53:22 2022 +0100
    Speech: Fix bug causing system voice to not always be used
 src/orca/speech.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/orca/speech.py b/src/orca/speech.py
index 24b982cf5..fdb27169e 100644
--- a/src/orca/speech.py
+++ b/src/orca/speech.py
@@ -129,6 +129,8 @@ def __resolveACSS(acss=None):
         return acss
     elif isinstance(acss, list) and len(acss) == 1:
         return ACSS(acss[0])
+    elif isinstance(acss, dict):
+        return ACSS(acss)
     else:
         voices = settings.voices
         return ACSS(voices[settings.DEFAULT_VOICE])
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]