default value
This commit is contained in:
parent
104cafedb0
commit
36787eeeeb
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue