forked from LBRYCommunity/lbry-sdk
print actual json
This commit is contained in:
parent
54229282a4
commit
cbd8a68d0f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def main():
|
||||||
r = api.call(meth, params)
|
r = api.call(meth, params)
|
||||||
else:
|
else:
|
||||||
r = api.call(meth)
|
r = api.call(meth)
|
||||||
print r
|
print json.dumps(r, sort_keys=True)
|
||||||
except:
|
except:
|
||||||
print "Something went wrong, here's the usage for %s:" % meth
|
print "Something went wrong, here's the usage for %s:" % meth
|
||||||
print api.help({'function': meth})
|
print api.help({'function': meth})
|
||||||
|
|
Loading…
Reference in a new issue