fix bug in jsonrpc_get_settings

This commit is contained in:
Job Evers-Meltzer 2016-11-01 14:17:20 -05:00
parent 7de4340c38
commit c0d96a5733
2 changed files with 2 additions and 2 deletions

View file

@ -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'},

View file

@ -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):