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
|
||||
|
||||
file_list_result = await r(
|
||||
file_list_result = (await r(
|
||||
'List local files',
|
||||
'file', 'list'
|
||||
)
|
||||
file_list_result = file_list_result.get('items')
|
||||
))['items']
|
||||
file_uri = f"{file_list_result[0]['claim_name']}#{file_list_result[0]['claim_id']}"
|
||||
await r(
|
||||
'Resolve a claim',
|
||||
|
|
Loading…
Add table
Reference in a new issue