[orca/gnome-3-18] Fix traceback
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-18] Fix traceback
- Date: Thu, 7 Apr 2016 20:54:07 +0000 (UTC)
commit f5f065cb0f21a548434bb478535366a8d25a5785
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Apr 7 16:09:36 2016 -0400
Fix traceback
src/orca/settings_manager.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index f1e3762..52cf17a 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -38,6 +38,7 @@ from . import orca_i18n
from . import script_manager
from . import settings
from . import pronunciation_dict
+from .acss import ACSS
from .keybindings import KeyBinding
try:
@@ -270,7 +271,7 @@ class SettingsManager(object):
def getVoiceLocale(self, voice='default'):
voices = self.getSetting('voices')
- v = voices.get(voice, {})
+ v = ACSS(voices.get(voice, {}))
lang = v.getLocale()
dialect = v.getDialect()
if dialect and len(str(dialect)) == 2:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]