From 4482610c5bdd68f5b10d7ef185f0bded9825c7b2 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 8 Sep 2018 22:29:20 +0200 Subject: [PATCH] add setting save --- src/fenrirscreenreader/core/settingsManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/core/settingsManager.py b/src/fenrirscreenreader/core/settingsManager.py index d061a058..0e183e3d 100644 --- a/src/fenrirscreenreader/core/settingsManager.py +++ b/src/fenrirscreenreader/core/settingsManager.py @@ -92,7 +92,7 @@ class settingsManager(): configFile = open(settingConfigPath, 'w') self.env['settings'].write(configFile) except Exception as e: - print(e) + self.env['runtime']['debug'].writeDebugOut('saveSettings: save settingsfile:' + settingConfigPath + 'failed. Error:' + str(e), debug.debugLevel.ERROR) def setSetting(self, section, setting, value): self.setOptionArgDict(section, setting, value) #self.env['settings'].set(section, setting, value)