forked from LBRYCommunity/lbry-sdk
simplify line in generate_json_api.py
This commit is contained in:
parent
d227660d6c
commit
ccf55bcd01
1 changed files with 2 additions and 3 deletions
|
@ -325,11 +325,10 @@ class Examples(CommandTestCase):
|
||||||
|
|
||||||
# files
|
# files
|
||||||
|
|
||||||
file_list_result = await r(
|
file_list_result = (await r(
|
||||||
'List local files',
|
'List local files',
|
||||||
'file', 'list'
|
'file', 'list'
|
||||||
)
|
))['items']
|
||||||
file_list_result = file_list_result.get('items')
|
|
||||||
file_uri = f"{file_list_result[0]['claim_name']}#{file_list_result[0]['claim_id']}"
|
file_uri = f"{file_list_result[0]['claim_name']}#{file_list_result[0]['claim_id']}"
|
||||||
await r(
|
await r(
|
||||||
'Resolve a claim',
|
'Resolve a claim',
|
||||||
|
|
Loading…
Reference in a new issue