From c0d96a57330c88f3c90dcbc27449ad90c03e2c27 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Tue, 1 Nov 2016 14:17:20 -0500 Subject: [PATCH] fix bug in jsonrpc_get_settings --- lbrynet/conf.py | 2 +- lbrynet/lbrynet_daemon/Daemon.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/conf.py b/lbrynet/conf.py index 30a783616..c96c3a95e 100644 --- a/lbrynet/conf.py +++ b/lbrynet/conf.py @@ -198,7 +198,7 @@ class ApplicationSettings(Setting): self.ICON_PATH = "icons" if platform is WINDOWS else "app.icns" self.APP_NAME = "LBRY" self.PROTOCOL_PREFIX = "lbry" - self.wallet_TYPES = ["lbryum", "lbrycrd"] + self.WALLET_TYPES = ["lbryum", "lbrycrd"] self.SOURCE_TYPES = ['lbry_sd_hash', 'url', 'btih'] self.CURRENCIES = { 'BTC': {'type': 'crypto'}, diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 58aef6e17..23eaf6df6 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -1249,7 +1249,7 @@ class Daemon(AuthJSONRPCServer): """ log.info("Get daemon settings") - return self._render_response(lbrynet_settings.configurable_settings, OK_CODE) + return self._render_response(lbrynet_settings.__dict__, OK_CODE) @AuthJSONRPCServer.auth_required def jsonrpc_set_settings(self, p):