default value

This commit is contained in:
Jack 2016-06-01 21:05:38 -04:00
parent 104cafedb0
commit 36787eeeeb

View file

@ -217,8 +217,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
log.info("Loaded lbrynet-daemon configuration") log.info("Loaded lbrynet-daemon configuration")
settings_dict = loaded_settings settings_dict = loaded_settings
else: else:
log.info( missing_settings = self.default_settings
"Writing default settings : " + json.dumps(self.default_settings) + " --> " + str(self.daemon_conf)) log.info("Writing default settings : " + json.dumps(self.default_settings) + " --> " + str(self.daemon_conf))
f = open(self.daemon_conf, "w") f = open(self.daemon_conf, "w")
f.write(json.dumps(self.default_settings)) f.write(json.dumps(self.default_settings))
f.close() f.close()