add setting save

This commit is contained in:
chrys 2018-09-08 22:25:40 +02:00
parent a97c31577a
commit 450dc681fa

View File

@ -89,7 +89,7 @@ class settingsManager():
self.env['settings'].set(section, setting, value) self.env['settings'].set(section, setting, value)
#print('full',self.env['settings']) #print('full',self.env['settings'])
configFile = open('/tmp/settings.conf', 'w') configFile = open(settingConfigPath, 'w')
self.env['settings'].write(configFile) self.env['settings'].write(configFile)
except Exception as e: except Exception as e:
print(e) print(e)