From bb97ccd757396424faea0d7fba43182b654ef531 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 11 Jul 2016 10:34:45 +0200 Subject: [PATCH] Update settings.py --- src/fenrir-package/core/settings.py | 39 ++++++++++++++++++----------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/src/fenrir-package/core/settings.py b/src/fenrir-package/core/settings.py index 8c43fd86..43da3fb5 100644 --- a/src/fenrir-package/core/settings.py +++ b/src/fenrir-package/core/settings.py @@ -3,18 +3,29 @@ from utils import debug settings = { -'speechEnabled': True, -'speechDriverString':'speechd', -'speechRate': 1, -'speechPitch': 1, -'speechModule': '', -'speechVoice': 'de', -'screenDriverString': 'linux', -'keyboardLayout': "desktop", -'brailleEnabled': False, -'soundEnabled': False, -'soundDriverString': 'sox', -'soundTheme': 'default', -'debugLevel': debug.debugLevel.DEACTIVE, -'punctuationLevel': 1 +'sound': { + 'enabled': False, + 'driver': 'sox', + 'theme': 'default', +}, +'speech':{ + 'enabled': True, + 'driver':'speechd', + 'rate': 1, + 'pitch': 1, + 'module': '', + 'voice': 'de', +}, +'braille':{ + 'enabled': False, + 'layout': 'en', +}, +'screen':{ + 'driver': 'linux', +}, +'general':{ + 'keyboardLayout': "desktop", + 'debugLevel': debug.debugLevel.DEACTIVE, + 'punctuationLevel': 1 +} }