From 36787eeeeb0f73bcd73622755f582635d5152acd Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 1 Jun 2016 21:05:38 -0400 Subject: [PATCH] default value --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 2625b5709..dc453f27d 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -217,8 +217,8 @@ class LBRYDaemon(jsonrpc.JSONRPC): log.info("Loaded lbrynet-daemon configuration") settings_dict = loaded_settings else: - log.info( - "Writing default settings : " + json.dumps(self.default_settings) + " --> " + str(self.daemon_conf)) + missing_settings = self.default_settings + log.info("Writing default settings : " + json.dumps(self.default_settings) + " --> " + str(self.daemon_conf)) f = open(self.daemon_conf, "w") f.write(json.dumps(self.default_settings)) f.close()