fix bug in jsonrpc_get_settings
This commit is contained in:
parent
7de4340c38
commit
c0d96a5733
2 changed files with 2 additions and 2 deletions
|
@ -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'},
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue