fix cli formatting
This commit is contained in:
parent
9b417486a9
commit
18ecbba87c
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import sys
|
||||
import json
|
||||
import asyncio
|
||||
import aiohttp
|
||||
from docopt import docopt
|
||||
|
@ -12,7 +13,7 @@ async def execute_command(command, args):
|
|||
message = {'method': command, 'params': args}
|
||||
async with aiohttp.ClientSession() as session:
|
||||
async with session.get('http://localhost:5279/lbryapi', json=message) as resp:
|
||||
print(await resp.json())
|
||||
print(json.dumps(await resp.json(), indent=4))
|
||||
|
||||
|
||||
def print_help():
|
||||
|
|
Loading…
Reference in a new issue