Save settings in conf.py

This commit is contained in:
Alex Liebowitz 2016-12-01 09:24:03 -05:00
parent 7b1b7fbf13
commit 157d6dca93

View file

@ -665,6 +665,7 @@ class Daemon(AuthJSONRPCServer):
except Exception as err: except Exception as err:
log.warning(err.message) log.warning(err.message)
log.warning("error converting setting '%s' to type %s", key, setting_type) log.warning("error converting setting '%s' to type %s", key, setting_type)
conf.save_settings()
self.run_on_startup = conf.settings.run_on_startup self.run_on_startup = conf.settings.run_on_startup
self.data_rate = conf.settings.data_rate self.data_rate = conf.settings.data_rate